Merge pull request #3161 from marcovmun/Fix-3130

Fix machanic crosses station
This commit is contained in:
Duncan 2016-03-24 09:33:01 +00:00
commit 14f79ad362
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) {