1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 07:14:31 +01:00

add better disable clearance cheat

This commit is contained in:
IntelOrca
2015-06-26 22:40:09 +01:00
parent fbf3d6af76
commit d5ffaefdf0
13 changed files with 117 additions and 42 deletions

View File

@@ -301,7 +301,7 @@ int viewport_interaction_get_item_right(int x, int y, viewport_interaction_info
return info->type;
case VIEWPORT_INTERACTION_ITEM_PARK:
if (!(RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) & SCREEN_FLAGS_SCENARIO_EDITOR) && !gSandboxMode)
if (!(RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) & SCREEN_FLAGS_SCENARIO_EDITOR) && !gCheatsSandboxMode)
break;
if (map_element_get_type(mapElement) != MAP_ELEMENT_TYPE_ENTRANCE)