From d53fdb418b97fb6220a65c110db5de28a8ed273b Mon Sep 17 00:00:00 2001 From: Randy Heit Date: Sun, 4 Apr 2010 03:03:01 +0000 Subject: [PATCH] - Fixed: P_LookForMonsters() had not been updated for the new species check. SVN r2268 (trunk) --- src/p_enemy.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/p_enemy.cpp b/src/p_enemy.cpp index c216baa00..558533742 100644 --- a/src/p_enemy.cpp +++ b/src/p_enemy.cpp @@ -1178,8 +1178,7 @@ bool P_LookForMonsters (AActor *actor) { // Stop searching return false; } - if (mo->IsKindOf (RUNTIME_TYPE(actor)) || - actor->IsKindOf (RUNTIME_TYPE(mo))) + if (mo->GetSpecies() == actor->GetSpecies()) { // [RH] Don't go after same species continue; }