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);