mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2025-05-31 09:21:36 +00:00
- scriptified a_archvile.cpp.
- fixed the type checks for the conditional operator.
This commit is contained in:
parent
a652c5f259
commit
2857fac338
10 changed files with 120 additions and 171 deletions
|
@ -1362,6 +1362,7 @@ enum
|
|||
XF_HURTSOURCE = 1,
|
||||
XF_NOTMISSILE = 4,
|
||||
XF_NOACTORTYPE = 1 << 3,
|
||||
XF_NOSPLASH = 16,
|
||||
};
|
||||
|
||||
DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Explode)
|
||||
|
@ -1412,7 +1413,7 @@ DEFINE_ACTION_FUNCTION_PARAMS(AActor, A_Explode)
|
|||
if (flags & XF_NOTMISSILE) pflags |= RADF_SOURCEISSPOT;
|
||||
|
||||
int count = P_RadiusAttack (self, self->target, damage, distance, damagetype, pflags, fulldmgdistance);
|
||||
P_CheckSplash(self, distance);
|
||||
if (!(flags & XF_NOSPLASH)) P_CheckSplash(self, distance);
|
||||
if (alert && self->target != NULL && self->target->player != NULL)
|
||||
{
|
||||
P_NoiseAlert(self->target, self);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue