From a57a67452268099cd545fe3a6fb3722d0a8f6cf8 Mon Sep 17 00:00:00 2001 From: Marijn van der Werf Date: Sun, 14 Aug 2016 15:04:09 +0200 Subject: [PATCH] Fix peeps not walking --- src/peep/peep.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/peep/peep.c b/src/peep/peep.c index da4ae51cd8..6222cfba2c 100644 --- a/src/peep/peep.c +++ b/src/peep/peep.c @@ -1525,8 +1525,8 @@ static int peep_update_action(sint16* x, sint16* y, sint16* xy_distance, rct_pee } } peep->sprite_direction = direction; - *x = peep->x + word_981D7C[direction / 4].x; - *y = peep->y + word_981D7C[direction / 4].y; + *x = peep->x + word_981D7C[direction / 8].x; + *y = peep->y + word_981D7C[direction / 8].y; peep->no_action_frame_no++; const rct_sprite_image * edi = g_sprite_entries[peep->sprite_type].sprite_image; const uint8* _edi = (edi[peep->action_sprite_type]).unkn_04;