1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-27 16:54:52 +01:00

Set BuildInPauseMode to true during map_remove_out_of_range_elements()

Set BuildInPauseMode to true during map_remove_out_of_range_elements()
This commit is contained in:
crorvig
2019-09-05 23:25:29 -04:00
committed by Gymnasiast
parent ed1dfa39c2
commit 7f54ba0be7

View File

@@ -1543,6 +1543,7 @@ void map_remove_out_of_range_elements()
int32_t mapMaxXY = gMapSizeMaxXY;
//#9955 ensure that we can remove elements
bool buildState = gCheatsBuildInPauseMode;
CheatsSet(CheatType::BuildInPauseMode, true);
for (int32_t y = 0; y < (MAXIMUM_MAP_SIZE_TECHNICAL * 32); y += 32)
{