1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-19 04:53:12 +01:00

Properly name what the getter/setter for surface object index is

This commit is contained in:
ζeh Matt
2023-08-26 20:50:06 +03:00
parent 7582006e10
commit ae3c1037ad
12 changed files with 26 additions and 26 deletions

View File

@@ -150,7 +150,7 @@ void SetupInUseSelectionFlags()
case TileElementType::Surface:
{
auto surfaceEl = iter.element->AsSurface();
auto surfaceIndex = surfaceEl->GetSurfaceStyle();
auto surfaceIndex = surfaceEl->GetSurfaceObjectIndex();
auto edgeIndex = surfaceEl->GetEdgeStyle();
Editor::SetSelectedObject(ObjectType::TerrainSurface, surfaceIndex, ObjectSelectionFlags::InUse);