Commit 4627e16f authored by Dino Bollinger's avatar Dino Bollinger Committed by Richard Gobeille

Fix 3D model animation depending on the number of sprites present on the map.

Fixes #64.
parent 0585b829
......@@ -11145,7 +11145,7 @@ void videoNextPage(void)
omdtims = mdtims;
mdtims = timerGetTicks();
for (native_t i = 0; i < Numsprites; ++i)
for (native_t i = 0; i < MAXSPRITES + MAXUNIQHUDID; ++i)
if ((mdpause && spriteext[i].mdanimtims) || (spriteext[i].flags & SPREXT_NOMDANIM))
spriteext[i].mdanimtims += mdtims - omdtims;
#endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment