From 512082b222db7bc0536034efb146cad7f34e24e6 Mon Sep 17 00:00:00 2001 From: Rachael Alexanderson Date: Tue, 5 Jun 2018 10:20:02 -0400 Subject: [PATCH] - fixed: 'empty function OnGiveSecret' - this was my fault, giving bad advice to Marisa in her PR. I fixed it. --- wadsrc/static/zscript/actor.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wadsrc/static/zscript/actor.txt b/wadsrc/static/zscript/actor.txt index 5eb3a16ad..48148f23c 100644 --- a/wadsrc/static/zscript/actor.txt +++ b/wadsrc/static/zscript/actor.txt @@ -541,7 +541,7 @@ class Actor : Thinker native } // called on getting a secret, return false to disable default "secret found" message/sound - virtual bool OnGiveSecret(bool printmsg, bool playsound); + virtual bool OnGiveSecret(bool printmsg, bool playsound) { return true; } native virtual bool OkayToSwitchTarget(Actor other); native static class GetReplacement(class cls);