1
0
mirror of https://github.com/OpenRCT2/OpenRCT2 synced 2026-01-20 05:23:04 +01:00

Use PEEP_ACTION_SPRITE_TYPE in the peep drawing code

This commit is contained in:
Richard Fine
2019-01-01 23:07:13 +00:00
parent 73686e84d6
commit a5e896f0c3

View File

@@ -69,7 +69,7 @@ void peep_paint(paint_session* session, const rct_peep* peep, int32_t imageDirec
rct_peep_animation_entry sprite = g_peep_animation_entries[peep->sprite_type];
uint8_t spriteType = peep->action_sprite_type;
PEEP_ACTION_SPRITE_TYPE spriteType = peep->action_sprite_type;
uint8_t imageOffset = peep->action_sprite_image_offset;
if (peep->action == PEEP_ACTION_NONE_1)