mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 14:51:46 +00:00
Fixed transfer of count secret flag from random spawner
https://forum.zdoom.org/viewtopic.php?t=59013
This commit is contained in:
parent
83cd53c9b1
commit
16333320d0
1 changed files with 1 additions and 0 deletions
|
@ -168,6 +168,7 @@ class RandomSpawner : Actor
|
|||
newmobj.SpawnFlags = SpawnFlags & ~MTF_SECRET; // MTF_SECRET needs special treatment to avoid incrementing the secret counter twice. It had already been processed for the spawner itself.
|
||||
newmobj.HandleSpawnFlags();
|
||||
newmobj.SpawnFlags = SpawnFlags;
|
||||
newmobj.bCountSecret = SpawnFlags & MTF_SECRET; // "Transfer" count secret flag to spawned actor
|
||||
newmobj.ChangeTid(tid);
|
||||
newmobj.Vel = Vel;
|
||||
newmobj.master = master; // For things such as DamageMaster/DamageChildren, transfer mastery.
|
||||
|
|
Loading…
Reference in a new issue