mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-25 05:21:16 +00:00
Fix typo
This commit is contained in:
parent
0c3ebf451f
commit
712dd1133d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue