Don't switch guns if the player doesn't have any.
This commit is contained in:
parent
6ff3fd47a4
commit
8c128d7f1d
|
@ -549,7 +549,7 @@ static void switchGuns(void)
|
|||
|
||||
i = player->selectedGunType;
|
||||
|
||||
if (!player->combinedGuns)
|
||||
if (!player->combinedGuns && battle.numPlayerGuns)
|
||||
{
|
||||
do
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue