1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-26 16:24:35 +01:00

add global macro: gScenarioObjectiveType

This commit is contained in:
Ted John
2016-04-23 02:14:14 +01:00
parent 5cb25c390f
commit 35e5c49454
10 changed files with 27 additions and 25 deletions

View File

@@ -6008,7 +6008,7 @@ foundRideEntry:
ride->price_secondary = DefaultShopItemPrice[rideEntry->shop_item_secondary];
}
if (RCT2_GLOBAL(RCT2_ADDRESS_OBJECTIVE_TYPE, uint8) == OBJECTIVE_BUILD_THE_BEST) {
if (gScenarioObjectiveType == OBJECTIVE_BUILD_THE_BEST) {
ride->price = 0;
}