mirror of
https://github.com/ZDoom/qzdoom.git
synced 2025-06-02 01:41:08 +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;
|
AWeapon *weapon = self->player->ReadyWeapon;
|
||||||
if (ACTION_CALL_FROM_WEAPON()) weapon = NULL;
|
if (!ACTION_CALL_FROM_WEAPON()) weapon = NULL;
|
||||||
if (weapon != NULL)
|
if (weapon != NULL)
|
||||||
{
|
{
|
||||||
if (!weapon->DepleteAmmo (weapon->bAltFire, true, 1))
|
if (!weapon->DepleteAmmo (weapon->bAltFire, true, 1))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue