Fixed HUD bug when using shuttle.

This commit is contained in:
Steve 2015-11-16 11:26:34 +00:00
parent 627b18d0b7
commit 6bdee92b35
1 changed files with 1 additions and 1 deletions

View File

@ -259,7 +259,7 @@ static void drawBoostECMBar(int current, int max, int x, int y, int r, int g, in
static void drawWeaponInfo(void)
{
drawText(10, 70, 14, TA_LEFT, colors.white, gunName[player->selectedGunType]);
drawText(10, 70, 14, TA_LEFT, colors.white, (player->selectedGunType != -1) ? gunName[player->selectedGunType] : "(None)");
drawText(260, 70, 14, TA_RIGHT, colors.white, "Missiles (%d)", player->missiles.ammo);
}