Don't switch guns if the player doesn't have any.

This commit is contained in:
Steve 2016-08-09 23:13:25 +01:00
parent 6ff3fd47a4
commit 8c128d7f1d
1 changed files with 1 additions and 1 deletions

View File

@ -549,7 +549,7 @@ static void switchGuns(void)
i = player->selectedGunType; i = player->selectedGunType;
if (!player->combinedGuns) if (!player->combinedGuns && battle.numPlayerGuns)
{ {
do do
{ {