- scriptified most of a_strifestuff.cpp.
This commit is contained in:
parent
caef5344b0
commit
edd8e51a69
15 changed files with 376 additions and 383 deletions
|
|
@ -265,10 +265,11 @@ void P_NoiseAlert (AActor *target, AActor *emitter, bool splash, double maxdist)
|
|||
DEFINE_ACTION_FUNCTION(AActor, NoiseAlert)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(AActor);
|
||||
PARAM_OBJECT(emitter, AActor);
|
||||
PARAM_OBJECT(target, AActor);
|
||||
PARAM_BOOL_DEF(splash);
|
||||
PARAM_FLOAT_DEF(maxdist);
|
||||
P_NoiseAlert(self, emitter, splash, maxdist);
|
||||
// Note that the emitter is self, not the target of the alert! Target can be NULL.
|
||||
P_NoiseAlert(target, self, splash, maxdist);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue