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

Merge pull request #8943 from IntelOrca/fix/8941

Fix #8941: Price sync is not able to check
This commit is contained in:
Duncan
2019-03-23 10:12:18 +00:00
committed by GitHub

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);
}
}