1
0
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:
Ted John
2016-07-19 18:35:44 +01:00
parent f6c8993da6
commit 487fcc3c5b
2 changed files with 4 additions and 1 deletions

View File

@@ -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 {