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

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

    r60 r61  
    93979397} 
    93989398 
    9399 template<class T> T* 
    9400 Unit::GetObjectInWorld(uint64 guid, T* /*fake*/) 
    9401 { 
    9402     return ObjectAccessor::GetObjectInWorld(uint64 guid, T* /*fake*/); 
    9403 } 
    9404  
    94059399bool Unit::isVisibleForInState( Player const* u, bool inVisibleList ) const 
    94069400{