From bc05228d9f788d0ca67dfdaba30e8e4a4c6ee61f Mon Sep 17 00:00:00 2001 From: w12x Date: Sun, 19 Oct 2008 11:07:10 -0500 Subject: [svn] Finally really fixed compile. Also, removed Unit::GetObjectInWorld(), use Map::GetCreatureInMap() and Map::GetGameObjectInMap() instead. This is to prevent creature-creature interaction on different maps, which would make the later multithreading of maps impossible. --HG-- branch : trunk --- src/game/Unit.cpp | 6 ------ 1 file changed, 6 deletions(-) (limited to 'src/game/Unit.cpp') diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 08a2ac93c92..bcac14b77aa 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -9396,12 +9396,6 @@ Unit* Unit::GetUnit(WorldObject& object, uint64 guid) return ObjectAccessor::GetUnit(object,guid); } -template T* -Unit::GetObjectInWorld(uint64 guid, T* /*fake*/) -{ - return ObjectAccessor::GetObjectInWorld(uint64 guid, T* /*fake*/); -} - bool Unit::isVisibleForInState( Player const* u, bool inVisibleList ) const { return isVisibleForOrDetect(u,false,inVisibleList); -- cgit v1.2.3