mirror of
https://github.com/OpenRCT2/OpenRCT2
synced 2026-01-17 20:13:07 +01:00
Fix #4134: Can't enable park-wide photo price for log flume and river ra
Caused by not shifting the shop item flags (those above 32) to the correct mask bit.
This commit is contained in:
@@ -5641,7 +5641,9 @@ static void update_same_price_throughout_flags(uint32 shop_item)
|
||||
game_do_command(0, 1, 0, (0x2 << 8), GAME_COMMAND_SET_PARK_OPEN, newFlags, shop_item);
|
||||
|
||||
newFlags = gSamePriceThroughoutParkB;
|
||||
newFlags ^= (SHOP_ITEM_PHOTO2 - 32) | (SHOP_ITEM_PHOTO3 - 32) | (SHOP_ITEM_PHOTO4 - 32);
|
||||
newFlags ^= (1 << (SHOP_ITEM_PHOTO2 - 32)) |
|
||||
(1 << (SHOP_ITEM_PHOTO3 - 32)) |
|
||||
(1 << (SHOP_ITEM_PHOTO4 - 32));
|
||||
game_do_command(0, 1, 0, (0x3 << 8), GAME_COMMAND_SET_PARK_OPEN, newFlags, shop_item);
|
||||
}
|
||||
else {
|
||||
|
||||
Reference in New Issue
Block a user