[svn] Fixed compile errors. Hopefully.
--HG-- branch : trunk
This commit is contained in:
@@ -9385,6 +9385,12 @@ Unit* Unit::GetUnit(WorldObject& object, uint64 guid)
|
|||||||
return ObjectAccessor::GetUnit(object,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
|
bool Unit::isVisibleForInState( Player const* u, bool inVisibleList ) const
|
||||||
{
|
{
|
||||||
return isVisibleForOrDetect(u,false,inVisibleList);
|
return isVisibleForOrDetect(u,false,inVisibleList);
|
||||||
|
|||||||
+1
-4
@@ -1218,10 +1218,7 @@ class TRINITY_DLL_SPEC Unit : public WorldObject
|
|||||||
void addFollower(FollowerReference* pRef) { m_FollowingRefManager.insertFirst(pRef); }
|
void addFollower(FollowerReference* pRef) { m_FollowingRefManager.insertFirst(pRef); }
|
||||||
void removeFollower(FollowerReference* /*pRef*/ ) { /* nothing to do yet */ }
|
void removeFollower(FollowerReference* /*pRef*/ ) { /* nothing to do yet */ }
|
||||||
static Unit* GetUnit(WorldObject& object, uint64 guid);
|
static Unit* GetUnit(WorldObject& object, uint64 guid);
|
||||||
template<class T> static T* GetObjectInWorld(uint64 guid, T* /*fake*/)
|
template<class T> static T* GetObjectInWorld(uint64 guid, T* /*fake*/);
|
||||||
{
|
|
||||||
return ObjectAccessor::GetObjectInWorld(uint64 guid, T* /*fake*/)
|
|
||||||
}
|
|
||||||
|
|
||||||
MotionMaster* GetMotionMaster() { return &i_motionMaster; }
|
MotionMaster* GetMotionMaster() { return &i_motionMaster; }
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user