diff options
author | StormBytePP <stormbyte@gmail.com> | 2015-09-21 15:17:05 +0200 |
---|---|---|
committer | StormBytePP <stormbyte@gmail.com> | 2015-09-21 15:17:05 +0200 |
commit | 0bed9d56cb9f10979492187c51042802272ce8ed (patch) | |
tree | 626a32a25a1486bf650e20518235f5ff6c7bffe0 /src/common/Collision/Management/MMapManager.cpp | |
parent | 32a2e584296556e852830e50cfa612ce279360b6 (diff) |
Core: Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert
Diffstat (limited to 'src/common/Collision/Management/MMapManager.cpp')
-rw-r--r-- | src/common/Collision/Management/MMapManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/Collision/Management/MMapManager.cpp b/src/common/Collision/Management/MMapManager.cpp index f6ccfdf2720..0a6df783647 100644 --- a/src/common/Collision/Management/MMapManager.cpp +++ b/src/common/Collision/Management/MMapManager.cpp @@ -317,7 +317,7 @@ namespace MMAP // if the grid is later reloaded, dtNavMesh::addTile will return error but no extra memory is used // we cannot recover from this error - assert out TC_LOG_ERROR("maps", "MMAP:unloadMap: Could not unload %04u%02i%02i.mmtile from navmesh", mapId, x, y); - ASSERT(false); + ABORT(); } else { |