From 54abe5f5d4e0d3cced74b545c56bf7162c69c6ce Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Fri, 18 Aug 2017 11:20:49 +0300 Subject: [PATCH] Fixed handling of default arguments in Actor.GiveSecret() --- src/p_spec.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/p_spec.cpp b/src/p_spec.cpp index 9299c5dca..35ed13306 100644 --- a/src/p_spec.cpp +++ b/src/p_spec.cpp @@ -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; }