[svn] Fixed compile errors. Hopefully.

--HG--
branch : trunk
This commit is contained in:
w12x
2008-10-19 07:24:36 -05:00
parent e4b701caba
commit 90a5b215f9
2 changed files with 7 additions and 4 deletions
+6
View File
@@ -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);
+1 -4
View File
@@ -1218,10 +1218,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
void addFollower(FollowerReference* pRef) { m_FollowingRefManager.insertFirst(pRef); }
void removeFollower(FollowerReference* /*pRef*/ ) { /* nothing to do yet */ }
static Unit* GetUnit(WorldObject& object, uint64 guid);
template<class T> static T* GetObjectInWorld(uint64 guid, T* /*fake*/)
{
return ObjectAccessor::GetObjectInWorld(uint64 guid, T* /*fake*/)
}
template<class T> static T* GetObjectInWorld(uint64 guid, T* /*fake*/);
MotionMaster* GetMotionMaster() { return &i_motionMaster; }