mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2025-12-20 06:12:57 +01:00
fix placement of large scenery
This commit is contained in:
@@ -2256,7 +2256,7 @@ void game_command_place_large_scenery(int* eax, int* ebx, int* ecx, int* edx, in
|
|||||||
*ebx = MONEY32_UNDEFINED;
|
*ebx = MONEY32_UNDEFINED;
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if(!(RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) & SCREEN_FLAGS_SCENARIO_EDITOR) && map_is_location_owned(x2, y2, zLow * 8) || gSandboxMode){
|
if((RCT2_GLOBAL(RCT2_ADDRESS_SCREEN_FLAGS, uint8) & SCREEN_FLAGS_SCENARIO_EDITOR) || map_is_location_owned(x2, y2, zLow * 8) || gSandboxMode){
|
||||||
if(*ebx & GAME_COMMAND_FLAG_APPLY){
|
if(*ebx & GAME_COMMAND_FLAG_APPLY){
|
||||||
if(!(*ebx & 0x40)){
|
if(!(*ebx & 0x40)){
|
||||||
footpath_remove_litter(x2, y2, zLow * 8);
|
footpath_remove_litter(x2, y2, zLow * 8);
|
||||||
|
|||||||
Reference in New Issue
Block a user