Include some peep data

This commit is contained in:
Marijn van der Werf 2016-08-05 10:34:48 +02:00
parent 80419556f4
commit 443d508fb0
1 changed files with 14 additions and 2 deletions

View File

@ -3802,6 +3802,18 @@ static void peep_update_ride(rct_peep* peep){
}
}
static const uint32 loc_992A18[9] = {
(1 << 14) | (1 << 13) | (1 << 12) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 7),
(1 << 14) | (1 << 13) | (1 << 12) | (1 << 2) | (1 << 1),
(1 << 14) | (1 << 13) | (1 << 12) | (1 << 4) | (1 << 1),
(1 << 14) | (1 << 13) | (1 << 12) | (1 << 3) | (1 << 1),
(1 << 14) | (1 << 13) | (1 << 12) | (1 << 5) | (1 << 1),
(1 << 14) | (1 << 13) | (1 << 12) | (1 << 6) | (1 << 1),
(1 << 14) | (1 << 13) | (1 << 12) | (1 << 11)| (1 << 9),
(1 << 14) | (1 << 13) | (1 << 12) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 7),
(1 << 14) | (1 << 13) | (1 << 12) | (1 << 10) | (1 << 9) | (1 << 8) | (1 << 7),
};
/**
*
* rct2: 0x006C0E8B
@ -3886,10 +3898,10 @@ static void peep_update_fixing(int steps, rct_peep* peep){
}
int subState = peep->sub_state;
uint32 ebp = RCT2_ADDRESS(0x992A18, uint32)[8];
uint32 ebp = loc_992A18[8];
if (peep->state != PEEP_STATE_INSPECTING) {
ebp = RCT2_ADDRESS(0x992A18, uint32)[ride->breakdown_reason_pending];
ebp = loc_992A18[ride->breakdown_reason_pending];
}
do {