Changeset 59
- Timestamp:
- 11/19/08 13:30:14 (17 years ago)
- Location:
- trunk/src/game
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/game/Unit.cpp
r55 r59 9386 9386 } 9387 9387 9388 template<class T> T* 9389 Unit::GetObjectInWorld(uint64 guid, T* /*fake*/) 9390 { 9391 return ObjectAccessor::GetObjectInWorld(uint64 guid, T* /*fake*/); 9392 } 9393 9388 9394 bool Unit::isVisibleForInState( Player const* u, bool inVisibleList ) const 9389 9395 { -
trunk/src/game/Unit.h
r58 r59 1219 1219 void removeFollower(FollowerReference* /*pRef*/ ) { /* nothing to do yet */ } 1220 1220 static Unit* GetUnit(WorldObject& object, uint64 guid); 1221 template<class T> static T* GetObjectInWorld(uint64 guid, T* /*fake*/) 1222 { 1223 return ObjectAccessor::GetObjectInWorld(uint64 guid, T* /*fake*/) 1224 } 1221 template<class T> static T* GetObjectInWorld(uint64 guid, T* /*fake*/); 1225 1222 1226 1223 MotionMaster* GetMotionMaster() { return &i_motionMaster; }