aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorsilverice <none@none>2010-03-21 01:24:25 +0200
committersilverice <none@none>2010-03-21 01:24:25 +0200
commitdac3af89ec26f67a643d2c67f88b004e40dbd906 (patch)
treed5eb9afc90856ee9aca23aaaf94f5afa19647630 /src
parenta0fd280a34b6e7c2c6bf3570d0420675222950ba (diff)
revert Fix Object::IsInMap to check instanceId
if pointers differens, maps can't be same --HG-- branch : trunk
Diffstat (limited to 'src')
-rw-r--r--src/game/Object.h4
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