- fixed secondary ammo display in strife status bar

https://forum.zdoom.org/viewtopic.php?t=68315
This commit is contained in:
alexey.lysiuk 2020-04-30 16:26:12 +03:00 committed by drfrag
parent 19b125ca3a
commit 80b3f8dcbe

View file

@ -353,8 +353,8 @@ class StrifeStatusBar : BaseStatusBar
if (ammo2 != NULL && ammo1!=ammo2) if (ammo2 != NULL && ammo1!=ammo2)
{ {
// Draw secondary ammo just above the primary ammo // Draw secondary ammo just above the primary ammo
DrawString(mGrnFont, FormatNumber(ammo1.Amount, 3), (-23, -48)); DrawString(mGrnFont, FormatNumber(ammo2.Amount, 3), (-23, -48));
DrawInventoryIcon(ammo1, (-14, -55)); DrawInventoryIcon(ammo2, (-14, -55));
} }
} }