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 authored and Gymnasiast committed 2019-10-03 22:26:08 +02:00
1 parent ed1dfa39c2
commit 7f54ba0be7
1 file changed
+1
+1
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)
{