little fix

This commit is contained in:
Clément Le Bihan
2021-06-02 16:30:16 +02:00
parent b3eae9ebdf
commit 37fb527d5b
2 changed files with 1 additions and 2 deletions

View File

@@ -60,5 +60,4 @@ namespace BBM
//! @brief assignment operator
AnimationsComponent &operator=(const AnimationsComponent &) = delete;
};
}

View File

@@ -27,6 +27,6 @@ namespace BBM
if (anim.isDisabled())
return;
model.member.setAnimation(anim.getCurrentModelAnim());
anim.setCurrentAnimFrameCounter(anim.getCurrentAnimFrameCounter() + 1);
anim.incCurrentAnimFrameCounter();
}
}