Merge pull request #8943 from IntelOrca/fix/8941

Fix #8941: Price sync is not able to check
This commit is contained in:
Duncan authored and GitHub committed 2019-03-23 10:12:18 +00:00
commit fef7a4afa1
1 file changed
+2 -2
+2 -2
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);
}
}