mirror of
https://github.com/DrBeef/Raze.git
synced 2025-02-20 18:52:43 +00:00
- Repair OOB access to spriteext[]
array accidentally introduced in d572e56839
. This repairs stability issues with models enabled under Linux environments.
This commit is contained in:
parent
ff1149d274
commit
8c679f2e17
1 changed files with 1 additions and 1 deletions
|
@ -1554,7 +1554,7 @@ void updateModelInterpolation()
|
|||
omdtims = mdtims;
|
||||
mdtims = I_msTime();
|
||||
|
||||
for (native_t i = 0; i < MAXSPRITES + MAXUNIQHUDID; ++i)
|
||||
for (native_t i = 0; i < MAXSPRITES; ++i)
|
||||
if ((mdpause && spriteext[i].mdanimtims) || (spriteext[i].flags & SPREXT_NOMDANIM))
|
||||
spriteext[i].mdanimtims += mdtims - omdtims;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue