mirror of
https://gitlab.com/dosowisko.net/libsuperderpy.git
synced 2024-12-04 16:28:00 +01:00
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:
parent
8fe925f30d
commit
9dd7960584
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue