mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-21 05:53:02 +01:00
Properly name setter/getter for edge object index
This commit is contained in:
@@ -151,7 +151,7 @@ void SetupInUseSelectionFlags()
|
||||
{
|
||||
auto surfaceEl = iter.element->AsSurface();
|
||||
auto surfaceIndex = surfaceEl->GetSurfaceObjectIndex();
|
||||
auto edgeIndex = surfaceEl->GetEdgeStyle();
|
||||
auto edgeIndex = surfaceEl->GetEdgeObjectIndex();
|
||||
|
||||
Editor::SetSelectedObject(ObjectType::TerrainSurface, surfaceIndex, ObjectSelectionFlags::InUse);
|
||||
Editor::SetSelectedObject(ObjectType::TerrainEdge, edgeIndex, ObjectSelectionFlags::InUse);
|
||||
|
||||
Reference in New Issue
Block a user