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

add global macros for park...

- gParkSize
- gParkEntranceFee
- gNumGuestsInPark
This commit is contained in:
Ted John
2016-04-23 01:00:00 +01:00
parent 307cb9e08b
commit b59f5c17ca
14 changed files with 59 additions and 56 deletions

View File

@@ -4089,7 +4089,7 @@ static void vehicle_kill_all_passengers(rct_vehicle* vehicle) {
for (uint8 i = 0; i < curVehicle->num_peeps; i++) {
rct_peep* peep = GET_PEEP(curVehicle->peep[i]);
if (peep->outside_of_park == 0) {
RCT2_GLOBAL(RCT2_ADDRESS_GUESTS_IN_PARK, uint16)--;
gNumGuestsInPark--;
RCT2_GLOBAL(RCT2_ADDRESS_BTM_TOOLBAR_DIRTY_FLAGS, uint16) |=
BTM_TB_DIRTY_FLAG_PEEP_COUNT;
}