animations[0] -> animations[0][0]
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user