mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +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)
|
DEFINE_ACTION_FUNCTION(AActor, GiveSecret)
|
||||||
{
|
{
|
||||||
PARAM_SELF_PROLOGUE(AActor);
|
PARAM_SELF_PROLOGUE(AActor);
|
||||||
PARAM_BOOL(printmessage);
|
PARAM_BOOL_DEF(printmessage);
|
||||||
PARAM_BOOL(playsound);
|
PARAM_BOOL_DEF(playsound);
|
||||||
P_GiveSecret(self, printmessage, playsound, -1);
|
P_GiveSecret(self, printmessage, playsound, -1);
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue