You've already forked OpenRCT2-Unity
mirror of
https://github.com/izzy2lost/OpenRCT2-Unity.git
synced 2026-03-10 12:38:22 -07:00
Set RailingsEntryIndex to null for good measure
This commit is contained in:
committed by
GitHub
parent
a9e0eeccc4
commit
3988261e8f
@@ -1660,6 +1660,7 @@ const FootpathObject* PathElement::GetLegacyPathEntry() const
|
||||
void PathElement::SetLegacyPathEntryIndex(ObjectEntryIndex newIndex)
|
||||
{
|
||||
SurfaceIndex = newIndex & ~FOOTPATH_ELEMENT_INSERT_QUEUE;
|
||||
RailingsIndex = OBJECT_ENTRY_INDEX_NULL;
|
||||
Flags2 |= FOOTPATH_ELEMENT_FLAGS2_LEGACY_PATH_ENTRY;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user