diff options
author | w12x <none@none> | 2008-10-19 07:24:36 -0500 |
---|---|---|
committer | w12x <none@none> | 2008-10-19 07:24:36 -0500 |
commit | 90a5b215f9cb28daf094120957d31df17b5d3578 (patch) | |
tree | e61f520f3c3fa32feea4ded9c6ff775e808937d7 /src/game/Unit.cpp | |
parent | e4b701cabab7e08855a7f1433ea7c696ffa481a8 (diff) |
[svn] Fixed compile errors. Hopefully.
--HG--
branch : trunk
Diffstat (limited to 'src/game/Unit.cpp')
-rw-r--r-- | src/game/Unit.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/game/Unit.cpp b/src/game/Unit.cpp index 472afbcba4a..eff464f110b 100644 --- a/src/game/Unit.cpp +++ b/src/game/Unit.cpp @@ -9385,6 +9385,12 @@ Unit* Unit::GetUnit(WorldObject& object, uint64 guid) return ObjectAccessor::GetUnit(object,guid); } +template<class T> 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); |