mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +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