diff --git a/src/r_data/models.cpp b/src/r_data/models.cpp index 9b819ffd1..af42b9a5c 100644 --- a/src/r_data/models.cpp +++ b/src/r_data/models.cpp @@ -555,7 +555,7 @@ void RenderFrameModels(FModelRenderer *renderer, FLevelLocals *Level, const FSpr if (animationid >= 0) { animation = Models[animationid]; - const TArray* animationData = animation->AttachAnimationData(); + animationData = animation->AttachAnimationData(); } if(is_decoupled)