- missed a '!'.

This commit is contained in:
Christoph Oelckers 2016-01-26 10:50:31 +01:00
parent 623276f5a6
commit 4f0cfa29b4

View file

@ -679,7 +679,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_FireOldBFG)
}
AWeapon *weapon = self->player->ReadyWeapon;
if (ACTION_CALL_FROM_WEAPON()) weapon = NULL;
if (!ACTION_CALL_FROM_WEAPON()) weapon = NULL;
if (weapon != NULL)
{
if (!weapon->DepleteAmmo (weapon->bAltFire, true, 1))