From 9dd7960584a23aee61b0d23bced3b781cc9a988a Mon Sep 17 00:00:00 2001 From: Sebastian Krzyszkowiak Date: Sat, 16 Jul 2022 23:53:53 +0200 Subject: [PATCH] character: Don't check for frame_count == 1 in AnimateCharacter If this is needed, there's a bug somewhere that needs to be fixed. --- src/character.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/character.c b/src/character.c index ce248f6..28ef8ea 100644 --- a/src/character.c +++ b/src/character.c @@ -712,10 +712,6 @@ SYMBOL_EXPORT void AnimateCharacter(struct Game* game, struct Character* charact } } - if (character->spritesheet->frame_count == 1) { - character->pos = 0; - } - if (character->spritesheet->stream) { if (!reachedEnd && pos != character->pos) { pos = character->pos;