diff options
author | maximius <none@none> | 2009-10-31 17:34:35 -0700 |
---|---|---|
committer | maximius <none@none> | 2009-10-31 17:34:35 -0700 |
commit | 85d7084e85c1779201b025887c45c5d46e38038f (patch) | |
tree | 9d7c88f42cda7b73bfaeff46ef8a8afdc41a0c26 /src/game/ObjectMgr.cpp | |
parent | a9d4bda2ccc51358b1e6a968648afbd094d9d8b1 (diff) |
*Fix usage of grid removal state, thanks Sisif
--HG--
branch : trunk
Diffstat (limited to 'src/game/ObjectMgr.cpp')
-rw-r--r-- | src/game/ObjectMgr.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game/ObjectMgr.cpp b/src/game/ObjectMgr.cpp index f8b915c0189..43a59c3aa61 100644 --- a/src/game/ObjectMgr.cpp +++ b/src/game/ObjectMgr.cpp @@ -1447,10 +1447,10 @@ uint32 ObjectMgr::AddGOData(uint32 entry, uint32 mapId, float x, float y, float // Spawn if necessary (loaded grids only) // We use spawn coords to spawn - if(!map->Instanceable() && !map->IsRemovalGrid(x, y)) + if(!map->Instanceable() && map->IsLoaded(x, y)) { GameObject *go = new GameObject; - if(!go->LoadFromDB(guid, map)) + if (!go->LoadFromDB(guid, map)) { sLog.outError("AddGOData: cannot add gameobject entry %u to map", entry); delete go; |