1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-23 06:44:38 +01:00

Fix #8941: Price sync is not able to check

This commit is contained in:
Ted John
2019-03-23 09:31:39 +00:00
parent 6d99426c80
commit 6143326b66

View File

@@ -6159,14 +6159,14 @@ static void update_same_price_throughout_flags(uint32_t shop_item)
newFlags = gSamePriceThroughoutPark;
newFlags ^= (1ULL << SHOP_ITEM_PHOTO) | (1ULL << SHOP_ITEM_PHOTO2) | (1ULL << SHOP_ITEM_PHOTO3)
| (1ULL << SHOP_ITEM_PHOTO4);
auto parkSetParameter = ParkSetParameterAction(ParkParameter::SamePriceInPark, shop_item);
auto parkSetParameter = ParkSetParameterAction(ParkParameter::SamePriceInPark, newFlags);
GameActions::Execute(&parkSetParameter);
}
else
{
newFlags = gSamePriceThroughoutPark;
newFlags ^= (1ULL << shop_item);
auto parkSetParameter = ParkSetParameterAction(ParkParameter::SamePriceInPark, shop_item);
auto parkSetParameter = ParkSetParameterAction(ParkParameter::SamePriceInPark, newFlags);
GameActions::Execute(&parkSetParameter);
}
}