character: Don't check for frame_count == 1 in AnimateCharacter

If this is needed, there's a bug somewhere that needs to be fixed.
This commit is contained in:
Sebastian Krzyszkowiak 2022-07-16 23:53:53 +02:00
parent 8fe925f30d
commit 9dd7960584
No known key found for this signature in database
GPG key ID: E8F235CF3BDBC3FF

View file

@ -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;