diff options
author | megamage <none@none> | 2008-12-30 22:01:45 -0600 |
---|---|---|
committer | megamage <none@none> | 2008-12-30 22:01:45 -0600 |
commit | 1d800d912ccb3b62879708235d302afc2be9c73a (patch) | |
tree | 0940aaae03d35bfc8d75e45b9438baf2c54091fa /src/game/Map.cpp | |
parent | 815a7641d257256479273e24e5e1052737428c80 (diff) |
*Fix the bug that summoned guardians cause crash (do not use the previous one).
--HG--
branch : trunk
Diffstat (limited to 'src/game/Map.cpp')
-rw-r--r-- | src/game/Map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/Map.cpp b/src/game/Map.cpp index f8e5077d52f..0bf1d5b7bf2 100644 --- a/src/game/Map.cpp +++ b/src/game/Map.cpp @@ -257,7 +257,7 @@ template<> void Map::AddToGrid(Creature* obj, NGridType *grid, Cell const& cell) { // add to world object registry in grid - if(obj->isPet() && IS_PLAYER_GUID(obj->GetOwnerGUID()) || obj->isPossessedByPlayer()) + if(obj->isPet() /*&& IS_PLAYER_GUID(obj->GetOwnerGUID())*/ || obj->isPossessedByPlayer()) { (*grid)(cell.CellX(), cell.CellY()).AddWorldObject<Creature>(obj, obj->GetGUID()); obj->SetCurrentCell(cell); |