mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- fixed max. ammo display on AltHud.
This commit is contained in:
parent
ae44b936eb
commit
9e70701e50
1 changed files with 1 additions and 1 deletions
|
@ -544,7 +544,7 @@ class AltHud ui
|
|||
let inv = GetDefaultByType(type);
|
||||
|
||||
let AltIcon = inv.AltHUDIcon;
|
||||
int maxammo = inv.MaxAmount;
|
||||
int maxammo = ammoitem? ammoitem.MaxAmount : inv.MaxAmount;
|
||||
|
||||
let icon = !AltIcon.isNull()? AltIcon : inv.Icon;
|
||||
if (!icon.isValid()) continue;
|
||||
|
|
Loading…
Reference in a new issue