forked from rosebudai/OpenRCT2-Web
Fix peeps not walking
This commit is contained in:
1 parent
82d0d229ce
commit
a57a674522
1 file changed
+2
-2
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user