mirror of
https://github.com/ZDoom/gzdoom-gles.git
synced 2024-11-10 23:01:59 +00:00
- Fixed: P_LookForMonsters() had not been updated for the new species check.
SVN r2268 (trunk)
This commit is contained in:
parent
6f9b035df8
commit
d53fdb418b
1 changed files with 1 additions and 2 deletions
|
@ -1178,8 +1178,7 @@ bool P_LookForMonsters (AActor *actor)
|
||||||
{ // Stop searching
|
{ // Stop searching
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (mo->IsKindOf (RUNTIME_TYPE(actor)) ||
|
if (mo->GetSpecies() == actor->GetSpecies())
|
||||||
actor->IsKindOf (RUNTIME_TYPE(mo)))
|
|
||||||
{ // [RH] Don't go after same species
|
{ // [RH] Don't go after same species
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue