*Add some crash prevention checks.
--HG-- branch : trunk
This commit is contained in:
1 parent
71adccb1c7
commit
8777efd03c
10 files changed
+176
-172
No files matched your search
@@ -117,10 +117,14 @@ MapManager::_createBaseMap(uint32 id)
|
||||
{
|
||||
m = new MapInstanced(id, i_gridCleanUpDelay);
|
||||
}
|
||||
else
|
||||
else if (entry)
|
||||
{
|
||||
m = new Map(id, i_gridCleanUpDelay, 0, 0);
|
||||
}
|
||||
else
|
||||
{
|
||||
assert(false);
|
||||
}
|
||||
i_maps[id] = m;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user