diff --git a/src/r_data/models.cpp b/src/r_data/models.cpp index 780d420fb22..a13d5699867 100644 --- a/src/r_data/models.cpp +++ b/src/r_data/models.cpp @@ -538,7 +538,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)