diff options
-rw-r--r-- | src/game/Object.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/game/Object.h b/src/game/Object.h index 82da2e4bdb6..20907fc9d12 100644 --- a/src/game/Object.h +++ b/src/game/Object.h @@ -562,10 +562,6 @@ class WorldObject : public Object, public WorldLocation { if (!obj || !IsInWorld() || !(obj->IsInWorld()) || GetMap() != obj->GetMap() || !InSamePhase(obj)) return false; - - if (GetMap()->Instanceable() && GetInstanceId() != obj->GetInstanceId()) - return false; - return true; } bool IsWithinDist3d(float x, float y, float z, float dist) const |