mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-01-18 23:21:41 +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 inv = GetDefaultByType(type);
|
||||||
|
|
||||||
let AltIcon = inv.AltHUDIcon;
|
let AltIcon = inv.AltHUDIcon;
|
||||||
int maxammo = inv.MaxAmount;
|
int maxammo = ammoitem? ammoitem.MaxAmount : inv.MaxAmount;
|
||||||
|
|
||||||
let icon = !AltIcon.isNull()? AltIcon : inv.Icon;
|
let icon = !AltIcon.isNull()? AltIcon : inv.Icon;
|
||||||
if (!icon.isValid()) continue;
|
if (!icon.isValid()) continue;
|
||||||
|
|
Loading…
Reference in a new issue