- scriptified some trivial stuff from g_shared.
This commit is contained in:
parent
0c969746d0
commit
a13e23dbe6
33 changed files with 276 additions and 502 deletions
|
|
@ -552,6 +552,15 @@ void P_GiveSecret(AActor *actor, bool printmessage, bool playsound, int sectornu
|
|||
level.found_secrets++;
|
||||
}
|
||||
|
||||
DEFINE_ACTION_FUNCTION(AActor, GiveSecret)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(AActor);
|
||||
PARAM_BOOL(printmessage);
|
||||
PARAM_BOOL(playsound);
|
||||
P_GiveSecret(self, printmessage, playsound, -1);
|
||||
return 0;
|
||||
}
|
||||
|
||||
//============================================================================
|
||||
//
|
||||
// P_PlayerOnSpecialFlat
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue