animations[0] -> animations[0][0]

This commit is contained in:
maxbyte9p
2024-05-16 11:16:42 -04:00
parent 2f4e14d292
commit 89c87c6699

View File

@@ -12,7 +12,7 @@ void AnimationState::setAnimation(Animation* anim) {
}
void AnimationState::reset() {
animation = animations[0]; //The "idle" or "default" animation should *always* be in slot 0.
animation = animations[0][0]; //The "idle" or "default" animation should *always* be in slot 0.
start = std::chrono::high_resolution_clock::now();
}