Changeset 59

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

[svn] Fixed compile errors. Hopefully.

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

Location:
trunk/src/game
Files:
2 modified

Legend:

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

    r55 r59  
    93869386} 
    93879387 
     9388template<class T> T* 
     9389Unit::GetObjectInWorld(uint64 guid, T* /*fake*/) 
     9390{ 
     9391    return ObjectAccessor::GetObjectInWorld(uint64 guid, T* /*fake*/); 
     9392} 
     9393 
    93889394bool Unit::isVisibleForInState( Player const* u, bool inVisibleList ) const 
    93899395{ 
  • trunk/src/game/Unit.h

    r58 r59  
    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*/) 
    1222         { 
    1223             return ObjectAccessor::GetObjectInWorld(uint64 guid, T* /*fake*/) 
    1224         } 
     1221        template<class T> static T* GetObjectInWorld(uint64 guid, T* /*fake*/); 
    12251222 
    12261223        MotionMaster* GetMotionMaster() { return &i_motionMaster; }