mirror of
https://github.com/ZDoom/gzdoom.git
synced 2024-11-22 12:11:25 +00:00
- fixed: 'empty function OnGiveSecret' - this was my fault, giving bad advice to Marisa in her PR. I fixed it.
This commit is contained in:
parent
477cf23fd2
commit
512082b222
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue