mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-12-03 17:32:40 +00:00
- Fixed: RandomSpawner spawning another RandomSpawner spawning a missile could result in the second RandomSpawner being erroneously destroyed.
This commit is contained in:
parent
21271d8815
commit
3c38a18b0c
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ class RandomSpawner : Actor
|
|||
}
|
||||
newmobj.AddZ(SpawnPoint.Z);
|
||||
}
|
||||
if (newmobj.bMissile)
|
||||
if (newmobj.bMissile && !(newmobj is 'RandomSpawner'))
|
||||
newmobj.CheckMissileSpawn(0);
|
||||
// Bouncecount is used to count how many recursions we're in.
|
||||
if (newmobj is 'RandomSpawner')
|
||||
|
|
Loading…
Reference in a new issue