From 712dd1133d18436ee7e9a5a4c3208e57ddfe0c02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ricardo=20Lu=C3=ADs=20Vaz=20Silva?= Date: Tue, 17 Sep 2024 14:12:45 -0300 Subject: [PATCH] Fix typo --- src/r_data/models.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/r_data/models.cpp b/src/r_data/models.cpp index 41166a0e83..780d420fb2 100644 --- a/src/r_data/models.cpp +++ b/src/r_data/models.cpp @@ -290,7 +290,7 @@ void calcFrame(const ModelAnim &anim, double tic, ModelAnimFrameInterp &inter) inter.frame2 = int(ceil(frame)); - int startFrame = (looped ? anim.startFrame : anim.loopFrame); + int startFrame = (looped ? anim.loopFrame : anim.startFrame); if(inter.frame1 < startFrame) inter.frame1 = anim.lastFrame; if(inter.frame2 > anim.lastFrame) inter.frame2 = startFrame;