Fixed #585
parent
14396847d6
commit
e1f0c0f91f
|
@ -200,6 +200,8 @@ CObject* CTarget::DetectFriendObject(Math::Point pos)
|
|||
target = obj;
|
||||
}
|
||||
|
||||
if (!target->Implements(ObjectInterfaceType::Old)) continue; // TODO: To be removed after COldObjectInterface is gone
|
||||
|
||||
for (int j=0 ; j<OBJECTMAXPART ; j++ )
|
||||
{
|
||||
int rank = obj->GetObjectRank(j);
|
||||
|
|
Loading…
Reference in New Issue