From 3f7044c09ce2a031921d6ecdf16dd77de18bbfe6 Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Sat, 13 Feb 2016 15:07:57 +0100 Subject: [PATCH] Decrease destination offset --- src/peep/peep.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/peep/peep.c b/src/peep/peep.c index 16471bf875..c52ebe9b46 100644 --- a/src/peep/peep.c +++ b/src/peep/peep.c @@ -3771,10 +3771,10 @@ static bool peep_update_fixing_sub_state_9(bool firstRun, rct_peep *peep, rct_ri } // loc_6C12ED: - uint8 direction = RCT2_GLOBAL(0xF43914, uint32); - uint16 destinationX = input.x + TileDirectionDelta[direction].x + 16; - uint16 destinationY = input.y + TileDirectionDelta[direction].y + 16; + uint16 destinationX = input.x + 16; + uint16 destinationY = input.y + 16; + uint8 direction = RCT2_GLOBAL(0xF43914, uint32); rct_xy16 offset = RCT2_ADDRESS(0x992A3C, rct_xy16)[direction]; destinationX -= offset.x;