1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-28 17:24:47 +01:00

Rename cheat variables to match new code style

This commit is contained in:
RedMarcher
2024-11-27 19:30:19 +00:00
committed by Gymnasiast
parent 7d554b5790
commit c24e47dea1
74 changed files with 450 additions and 450 deletions

View File

@@ -377,7 +377,7 @@ namespace OpenRCT2::Ui
else
{
// FIXME: Why does it *2 the value?
if (!GetGameState().Cheats.SandboxMode && !MapIsLocationOwned({ info.Loc, tileElement->GetBaseZ() * 2 }))
if (!GetGameState().Cheats.sandboxMode && !MapIsLocationOwned({ info.Loc, tileElement->GetBaseZ() * 2 }))
{
info.interactionType = ViewportInteractionItem::None;
return info;
@@ -508,7 +508,7 @@ namespace OpenRCT2::Ui
return info;
}
case ViewportInteractionItem::ParkEntrance:
if (!(gScreenFlags & SCREEN_FLAGS_SCENARIO_EDITOR) && !GetGameState().Cheats.SandboxMode)
if (!(gScreenFlags & SCREEN_FLAGS_SCENARIO_EDITOR) && !GetGameState().Cheats.sandboxMode)
break;
if (tileElement->GetType() != TileElementType::Entrance)