mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-28 15:02:39 +00:00
Merge branch 'master' of https://github.com/coelckers/gzdoom
This commit is contained in:
commit
e333a886e9
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