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

View file

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