mirror of
https://github.com/ZDoom/qzdoom.git
synced 2024-11-10 23:02:08 +00:00
- Do not "wake" Oracle spectres that killed an Oracle. (Because if they killed it, they're
obviously already awake. Also, we don't want them to end up targeting themselves.) SVN r4009 (trunk)
This commit is contained in:
parent
115b70f6d8
commit
ca2d75307c
1 changed files with 1 additions and 1 deletions
|
@ -13,7 +13,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_WakeOracleSpectre)
|
|||
TThinkerIterator<AActor> it(NAME_AlienSpectre3);
|
||||
AActor *spectre = it.Next();
|
||||
|
||||
if (spectre != NULL && spectre->health > 0)
|
||||
if (spectre != NULL && spectre->health > 0 && self->target != spectre)
|
||||
{
|
||||
spectre->Sector->SoundTarget = spectre->LastHeard = self->LastHeard;
|
||||
spectre->target = self->target;
|
||||
|
|
Loading…
Reference in a new issue