Fixed handling of default arguments in Actor.GiveSecret()

This commit is contained in:
alexey.lysiuk 2017-08-18 11:20:49 +03:00
parent 0696967887
commit 54abe5f5d4
1 changed files with 2 additions and 2 deletions

View File

@ -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;
}