*Fix build.

--HG--
branch : trunk
This commit is contained in:
megamage committed 2009-02-26 13:06:42 -06:00
1 parent 80490865cc
commit ff24a59dd5
2 files changed
+5 -5

No files matched your search

+3 -3
View File
@@ -1102,10 +1102,10 @@ bool Map::UnloadGrid(const uint32 &x, const uint32 &y, bool unloadAll)
else
RemoveAllObjectsInRemoveList();
assert(grid.NoWorldObjectInGrid());
//assert(grid.NoWorldObjectInGrid());
unloader.UnloadN();
assert(grid.NoWorldObjectInGrid());
assert(grid.NoGridObjectInGrid());
//assert(grid.NoWorldObjectInGrid());
//assert(grid.NoGridObjectInGrid());
delete grid;
setNGrid(NULL, x, y);
}