diff --git a/src/openrct2/paint/sprite/peep.c b/src/openrct2/paint/sprite/peep.c index 115ffffb66..2baec97009 100644 --- a/src/openrct2/paint/sprite/peep.c +++ b/src/openrct2/paint/sprite/peep.c @@ -77,7 +77,7 @@ void peep_paint(rct_peep * peep, sint32 imageDirection) spriteType = peep->next_action_sprite_type; imageOffset = 0; } - + uint32 baseImageId = (imageDirection >> 3) + sprite.sprite_animation[spriteType].base_image + imageOffset * 4; uint32 imageId = baseImageId | peep->tshirt_colour << 19 | peep->trousers_colour << 24 | 0xA0000000; sub_98197C(imageId, 0, 0, 1, 1, 11, peep->z, 0, 0, peep->z + 3, get_current_rotation()); diff --git a/src/openrct2/peep/peep.c b/src/openrct2/peep/peep.c index 80bb31d7ec..42a157301d 100644 --- a/src/openrct2/peep/peep.c +++ b/src/openrct2/peep/peep.c @@ -2680,7 +2680,7 @@ static void peep_update_ride_sub_state_1(rct_peep* peep){ x *= 32; y *= 32; - assert(ride->type == RIDE_TYPE_SPIRAL_SLIDE); + assert(ride->type == RIDE_TYPE_SPIRAL_SLIDE); const rct_xy16 slidePlatformDestination = SpiralSlideWalkingPath[peep->var_37]; x += slidePlatformDestination.x; @@ -3587,7 +3587,7 @@ static void peep_update_ride_sub_state_14(rct_peep* peep){ x *= 32; y *= 32; - assert(ride->type == RIDE_TYPE_SPIRAL_SLIDE); + assert(ride->type == RIDE_TYPE_SPIRAL_SLIDE); const rct_xy16 slidePlatformDestination = SpiralSlideWalkingPath[peep->var_37]; x += slidePlatformDestination.x;