Fix machanic crosses station

This commit is contained in:
Marco van Munster 2016-03-23 22:10:19 +01:00
parent 79f2316a4c
commit 1f069af961
1 changed files with 1 additions and 1 deletions

View File

@ -3682,7 +3682,7 @@ static bool peep_update_fixing_sub_state_7(bool firstRun, rct_peep *peep, rct_ri
}
int direction = map_element_get_direction(mapElement);
rct_xy16 offset = RCT2_ADDRESS(0x992A3C, rct_xy16)[direction * 2];
rct_xy16 offset = RCT2_ADDRESS(0x992A3C, rct_xy16)[direction];
stationX += 16 + offset.x;
if (offset.x == 0) {