1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-24 15:24:30 +01:00

Refactor large scenery tile flags field

This commit is contained in:
Ted John
2017-12-17 16:35:03 +00:00
committed by Gymnasiast
parent f11973f692
commit 7c05e22cd0
4 changed files with 14 additions and 7 deletions

View File

@@ -2822,7 +2822,7 @@ void game_command_place_large_scenery(sint32* eax, sint32* ebx, sint32* ecx, sin
sint32 zLow = (tile->z_offset + maxHeight) / 8;
sint32 zHigh = (tile->z_clearance / 8) + zLow;
sint32 bx = tile->var_7 >> 12;
sint32 bx = tile->flags >> 12;
bx <<= rotation;
uint8 bl = bx;
uint8 bh = bl >> 4;