- Fixed: P_LookForMonsters() had not been updated for the new species check.

SVN r2268 (trunk)
This commit is contained in:
Randy Heit 2010-04-04 03:03:01 +00:00
parent 6f9b035df8
commit d53fdb418b
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}