mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-24 15:24:30 +01:00
Make placing scenery set virtual floor height
This commit is contained in:
committed by
Aaron van Geffen
parent
2849561eb6
commit
d67aba09ad
@@ -1284,6 +1284,9 @@ static void sub_6E1F34(sint16 x, sint16 y, uint16 selected_scenery, sint16* grid
|
||||
*parameter_1 = (selected_scenery & 0xFF) << 8;
|
||||
*parameter_2 = (cl ^ (1 << 1)) | (gWindowSceneryPrimaryColour << 8);
|
||||
*parameter_3 = rotation | (gWindowScenerySecondaryColour << 16);
|
||||
|
||||
map_set_virtual_floor_height(gSceneryPlaceZ);
|
||||
|
||||
return;
|
||||
}
|
||||
|
||||
@@ -1534,6 +1537,8 @@ static void sub_6E1F34(sint16 x, sint16 y, uint16 selected_scenery, sint16* grid
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
map_set_virtual_floor_height(gSceneryPlaceZ);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user