diff --git a/rwengine/src/objects/CharacterObject.cpp b/rwengine/src/objects/CharacterObject.cpp index 0591c6c0..b898d3b6 100644 --- a/rwengine/src/objects/CharacterObject.cpp +++ b/rwengine/src/objects/CharacterObject.cpp @@ -196,6 +196,7 @@ glm::vec3 CharacterObject::updateMovementAnimation(float dt) { if (it != movementAnimation->bones.end()) { AnimationBone* rootBone = it->second; float step = dt; + RW_CHECK(animator->getAnimation(AnimIndexMovement), "Failed to read animation using index " << AnimIndexMovement); const float duration = animator->getAnimation(AnimIndexMovement)->duration; float animTime =