mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-24 21:11:39 +00:00
Fixed handling of default arguments in Actor.GiveSecret()
This commit is contained in:
parent
0696967887
commit
54abe5f5d4
1 changed files with 2 additions and 2 deletions
|
@ -596,8 +596,8 @@ void P_GiveSecret(AActor *actor, bool printmessage, bool playsound, int sectornu
|
|||
DEFINE_ACTION_FUNCTION(AActor, GiveSecret)
|
||||
{
|
||||
PARAM_SELF_PROLOGUE(AActor);
|
||||
PARAM_BOOL(printmessage);
|
||||
PARAM_BOOL(playsound);
|
||||
PARAM_BOOL_DEF(printmessage);
|
||||
PARAM_BOOL_DEF(playsound);
|
||||
P_GiveSecret(self, printmessage, playsound, -1);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue