mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-15 11:03:00 +01:00
allow trees to be raised if supports limits are disabled, close #1663
This commit is contained in:
@@ -947,7 +947,7 @@ void sub_6E1F34(sint16 x, sint16 y, uint16 selected_scenery, sint16* grid_x, sin
|
||||
type = 1;
|
||||
}
|
||||
|
||||
if (type == 0){
|
||||
if (type == 0 && !gCheatsDisableSupportLimits) {
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_SCENERY_TOOL_CTRL_PRESSED, uint8) = 0;
|
||||
RCT2_GLOBAL(RCT2_ADDRESS_SCENERY_TOOL_SHIFT_PRESSED, uint8) = 0;
|
||||
}
|
||||
|
||||
@@ -2134,7 +2134,7 @@ void game_command_place_scenery(int* eax, int* ebx, int* ecx, int* edx, int* esi
|
||||
}
|
||||
}
|
||||
if(gCheatsDisableClearanceChecks || !(scenery_entry->small_scenery.flags & SMALL_SCENERY_FLAG_REQUIRE_FLAT_SURFACE) || z != 0 || F64F1D != 0 || !(map_element->properties.surface.slope & 0x1F)){
|
||||
if(scenery_entry->small_scenery.flags & SMALL_SCENERY_FLAG18 || z == 0){
|
||||
if(gCheatsDisableSupportLimits || scenery_entry->small_scenery.flags & SMALL_SCENERY_FLAG18 || z == 0){
|
||||
l_6E0B78: ;
|
||||
int bp = quadrant;
|
||||
int zLow = F64EC8 / 8;
|
||||
|
||||
Reference in New Issue
Block a user