Changeset 61 for trunk/src/game/Map.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/Map.h

    r44 r61  
    235235        bool isCellMarked(uint32 pCellId) { return marked_cells.test(pCellId); } 
    236236        void markCell(uint32 pCellId) { marked_cells.set(pCellId); } 
     237        Creature* GetCreatureInMap(uint64 guid); 
     238        GameObject* GetGameObjectInMap(uint64 guid); 
    237239    private: 
    238240        void LoadVMap(int pX, int pY);