mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-14 16:40:52 +00:00
- Exhumed: Fix OOB access in GetAllStats()
statusbar code.
* Triggered during testing with the alt HUD.
This commit is contained in:
parent
fcfee9addc
commit
3604fd9bfa
1 changed files with 1 additions and 1 deletions
|
@ -825,7 +825,7 @@ class ExhumedStatusBar : RazeStatusBar
|
|||
|
||||
SetMagicFrame(pp);
|
||||
|
||||
stats.armoricons.Push(GetStatusSequenceName(nItemSeq, nItemFrame));
|
||||
if (nItemSeq >= 0) stats.armoricons.Push(GetStatusSequenceName(nItemSeq, nItemFrame));
|
||||
stats.armorvalues.Push(pp.nMagic / 10);
|
||||
|
||||
if (pp.isUnderwater())
|
||||
|
|
Loading…
Reference in a new issue