From 20bffbd94d6690e4448d3a0506ab128bc70b763c Mon Sep 17 00:00:00 2001 From: Mitchell Richters Date: Sat, 24 Jul 2021 15:40:15 +1000 Subject: [PATCH] - Exhumed: Revert source for `ammo` in `DrawHUD2()` from 7b8dcde5d24ef60b03b0067fc530d5f65b5da00c. * Fixes https://forum.zdoom.org/viewtopic.php?f=340&t=72853. --- wadsrc/static/zscript/games/exhumed/ui/sbar.zs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/games/exhumed/ui/sbar.zs b/wadsrc/static/zscript/games/exhumed/ui/sbar.zs index c327a5b84..133f38574 100644 --- a/wadsrc/static/zscript/games/exhumed/ui/sbar.zs +++ b/wadsrc/static/zscript/games/exhumed/ui/sbar.zs @@ -304,7 +304,7 @@ class ExhumedStatusBar : RazeStatusBar // Weapon // int weapon = pp.nCurrentWeapon; - int ammo = pp.nAmmo[weapon]; + int ammo = nCounterDest; if (ammo > 0) // wicon > 0 { if (weapon == kWeaponPistol && cl_showmagamt)