mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-27 14:32:08 +00:00
- fixed what looks like a copy/paste error in A_Explode.
This commit is contained in:
parent
04c4147052
commit
314e89b84f
1 changed files with 1 additions and 2 deletions
|
@ -1416,13 +1416,12 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Explode)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
int count = P_RadiusAttack (self, self->target, damage, distance, self->DamageType, flags, fulldmgdistance);
|
|
||||||
if (!(flags & XF_NOACTORTYPE) && damagetype == NAME_None)
|
if (!(flags & XF_NOACTORTYPE) && damagetype == NAME_None)
|
||||||
{
|
{
|
||||||
damagetype = self->DamageType;
|
damagetype = self->DamageType;
|
||||||
}
|
}
|
||||||
|
|
||||||
P_RadiusAttack (self, self->target, damage, distance, damagetype, flags, fulldmgdistance);
|
int count = P_RadiusAttack (self, self->target, damage, distance, damagetype, flags, fulldmgdistance);
|
||||||
P_CheckSplash(self, distance);
|
P_CheckSplash(self, distance);
|
||||||
if (alert && self->target != NULL && self->target->player != NULL)
|
if (alert && self->target != NULL && self->target->player != NULL)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue