- Removed the RUNTIME_TYPE macro. I just included it because MFC has one, but it's pretty
pointless here. SVN r2267 (scripting)
This commit is contained in:
parent
06995e26d9
commit
19f5b1dea1
9 changed files with 14 additions and 16 deletions
|
|
@ -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->IsKindOf (actor->GetClass()) || actor->IsKindOf (mo->GetClass()))
|
||||
{ // [RH] Don't go after same species
|
||||
continue;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue