diff --git a/src/player.c b/src/player.c index be5c91e..6e10b51 100644 --- a/src/player.c +++ b/src/player.c @@ -982,9 +982,11 @@ void player_renderGUI(void) { /* Font is too big. */ f = &gl_smallFont; + /* Weapon name. */ gl_printMid(f, (int)gui.weapon.w, gui.weapon.x, gui.weapon.y - 5, - c, "%s", player->secondary->outfit->u.lau.ammo); + (player->ammo) ? c : &cGrey, "%s", + player->secondary->outfit->u.lau.ammo); /* Print ammo underneath to the left. */ gl_printMid(&gl_smallFont, (int)gui.weapon.w, gui.weapon.x,