- removed the default parameter handling from all native script functions because it is no longer needed.
This commit is contained in:
parent
e643582957
commit
94ed30e782
45 changed files with 736 additions and 769 deletions
|
|
@ -618,8 +618,8 @@ void P_GiveSecret(AActor *actor, bool printmessage, bool playsound, int sectornu
|
|||
DEFINE_ACTION_FUNCTION(AActor, GiveSecret)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(AActor);
|
||||
PARAM_BOOL_DEF(printmessage);
|
||||
PARAM_BOOL_DEF(playsound);
|
||||
PARAM_BOOL(printmessage);
|
||||
PARAM_BOOL(playsound);
|
||||
P_GiveSecret(self, printmessage, playsound, -1);
|
||||
return 0;
|
||||
}
|
||||
|
|
@ -629,8 +629,8 @@ DEFINE_ACTION_FUNCTION(FLevelLocals, GiveSecret)
|
|||
{
|
||||
PARAM_PROLOGUE;
|
||||
PARAM_OBJECT(activator, AActor);
|
||||
PARAM_BOOL_DEF(printmessage);
|
||||
PARAM_BOOL_DEF(playsound);
|
||||
PARAM_BOOL(printmessage);
|
||||
PARAM_BOOL(playsound);
|
||||
P_GiveSecret(activator, printmessage, playsound, -1);
|
||||
return 0;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue