From 1f069af961e0f6f7b1103cbf08b20f621813eede Mon Sep 17 00:00:00 2001 From: Marco van Munster Date: Wed, 23 Mar 2016 22:10:19 +0100 Subject: [PATCH] Fix machanic crosses station --- src/peep/peep.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/peep/peep.c b/src/peep/peep.c index 13815d21f3..cd728c2dea 100644 --- a/src/peep/peep.c +++ b/src/peep/peep.c @@ -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) {