From ca2d75307c3d89a7061fe8bce26726c7f2892a70 Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Wed, 2 Jan 2013 03:35:08 +0000 Subject: [PATCH] - 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) --- src/g_strife/a_oracle.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/g_strife/a_oracle.cpp b/src/g_strife/a_oracle.cpp index efa09b84d..bdfc52dfa 100644 --- a/src/g_strife/a_oracle.cpp +++ b/src/g_strife/a_oracle.cpp @@ -13,7 +13,7 @@ DEFINE_ACTION_FUNCTION(AActor, A_WakeOracleSpectre) TThinkerIterator 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;