1
0
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:
ζeh Matt
2023-08-26 21:01:27 +03:00
parent 263079f388
commit 45afc1f67b
12 changed files with 24 additions and 24 deletions

View File

@@ -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);