Permalink
Browse files

- fixed max. ammo display on AltHud.

  • Loading branch information...
coelckers committed Dec 3, 2018
1 parent ae44b93 commit 9e70701e5073d1f0721f6ecb7914f6074e509783
Showing with 1 addition and 1 deletion.
  1. +1 −1 wadsrc/static/zscript/statusbar/alt_hud.txt
@@ -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;

0 comments on commit 9e70701

Please sign in to comment.