Changeset 61 for trunk/src/game/Unit.h

Show
Ignore:
Timestamp:
11/19/08 13:30:29 (17 years ago)
Author:
yumileroy
Message:

[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.

Original author: w12x
Date: 2008-10-19 11:07:10-05:00

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/game/Unit.h

    r59 r61  
    12191219        void removeFollower(FollowerReference* /*pRef*/ ) { /* nothing to do yet */ } 
    12201220        static Unit* GetUnit(WorldObject& object, uint64 guid); 
    1221         template<class T> static T* GetObjectInWorld(uint64 guid, T* /*fake*/); 
    12221221 
    12231222        MotionMaster* GetMotionMaster() { return &i_motionMaster; }