mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-26 14:01:45 +00:00
- missed a '!'.
This commit is contained in:
parent
623276f5a6
commit
4f0cfa29b4
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue