1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-06 06:32:56 +01:00

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

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) {