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