From db8ad07a721981fa7e6a7728cd365ad9dfd0811d 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 41166a0e83a..780d420fb22 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;