- fixed: 'empty function OnGiveSecret' - this was my fault, giving bad advice to Marisa in her PR. I fixed it.

This commit is contained in:
Rachael Alexanderson 2018-06-05 10:20:02 -04:00
parent 477cf23fd2
commit 512082b222
1 changed files with 1 additions and 1 deletions

View File

@ -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<Actor> GetReplacement(class<Actor> cls);