mirror of
https://github.com/ZDoom/qzdoom-gpl.git
synced 2024-11-16 01:02:03 +00:00
- Do not wake Oracle spectres that are dead.
SVN r4008 (trunk)
This commit is contained in:
parent
dfe470e5f2
commit
115b70f6d8
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)
|
||||
if (spectre != NULL && spectre->health > 0)
|
||||
{
|
||||
spectre->Sector->SoundTarget = spectre->LastHeard = self->LastHeard;
|
||||
spectre->target = self->target;
|
||||
|
|
Loading…
Reference in a new issue