mirror of
https://gitlab.com/drummyfish/anarch.git
synced 2024-12-22 07:18:49 -05:00
Fix ammo bug
This commit is contained in:
parent
46d7b003de
commit
10c784b015
3
main.c
3
main.c
@ -4002,7 +4002,8 @@ void SFG_draw()
|
||||
SFG_player.health > SFG_PLAYER_HEALTH_WARNING_LEVEL ? 4 : 175);
|
||||
|
||||
SFG_drawNumber( // ammo
|
||||
SFG_player.ammo[SFG_weaponAmmo(SFG_player.weapon)],
|
||||
SFG_player.weapon != SFG_WEAPON_KNIFE ?
|
||||
SFG_player.ammo[SFG_weaponAmmo(SFG_player.weapon)] : 0,
|
||||
SFG_GAME_RESOLUTION_X - SFG_HUD_MARGIN -
|
||||
(SFG_FONT_CHARACTER_SIZE + 1) * SFG_FONT_SIZE_MEDIUM * 3,
|
||||
TEXT_Y,
|
||||
|
Loading…
Reference in New Issue
Block a user