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:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user