1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 01:04:50 +01:00

Rename GetBrakeClosed() to IsBrakeClosed()

This commit is contained in:
spacek531
2022-12-31 05:06:22 -08:00
committed by GitHub
parent 0ce84204b7
commit 09c8e4755f
27 changed files with 72 additions and 60 deletions

View File

@@ -183,11 +183,11 @@ GameActions::Result TileModifyAction::QueryExecute(bool isExecuting) const
res = TileInspector::TrackSetChain(_loc, elementIndex, false, setChain, isExecuting);
break;
}
case TileModifyType::TrackSetBlockBrake:
case TileModifyType::TrackSetBrake:
{
const auto elementIndex = _value1;
const bool blockBrake = _value2;
res = TileInspector::TrackSetBlockBrake(_loc, elementIndex, blockBrake, isExecuting);
const bool isClosed = _value2;
res = TileInspector::TrackSetBrakeClosed(_loc, elementIndex, isClosed, isExecuting);
break;
}
case TileModifyType::TrackSetIndestructible: