mirror of
https://github.com/ZDoom/raze-gles.git
synced 2025-01-15 04:00:53 +00:00
Fix 3D model animation depending on the number of sprites present on the map.
Fixes terminx/eduke32#64.
This commit is contained in:
parent
28911435d9
commit
9c2c1cc765
1 changed files with 1 additions and 1 deletions
|
@ -4045,7 +4045,7 @@ void videoNextPage(void)
|
||||||
omdtims = mdtims;
|
omdtims = mdtims;
|
||||||
mdtims = timerGetTicks();
|
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))
|
if ((mdpause && spriteext[i].mdanimtims) || (spriteext[i].flags & SPREXT_NOMDANIM))
|
||||||
spriteext[i].mdanimtims += mdtims - omdtims;
|
spriteext[i].mdanimtims += mdtims - omdtims;
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in a new issue