- scriptified Hexen's lightning weapon.

This commit is contained in:
Christoph Oelckers 2016-11-27 22:14:18 +01:00
commit f9a1388066
6 changed files with 228 additions and 289 deletions

View file

@ -1751,6 +1751,15 @@ void P_ExplodeMissile (AActor *mo, line_t *line, AActor *target)
}
}
DEFINE_ACTION_FUNCTION(AActor, ExplodeMissile)
{
PARAM_SELF_PROLOGUE(AActor);
PARAM_POINTER_DEF(line, line_t);
PARAM_OBJECT_DEF(target, AActor);
P_ExplodeMissile(self, line, target);
return 0;
}
void AActor::PlayBounceSound(bool onfloor)
{