aboutsummaryrefslogtreecommitdiff
path: root/src/server/game/Maps/Map.h
diff options
context:
space:
mode:
authorjackpoz <giacomopoz@gmail.com>2020-06-26 23:28:33 +0200
committerShauren <shauren.trinity@gmail.com>2022-01-19 22:17:42 +0100
commit68faf5bc4bc69a111eca479860215f075adcdad6 (patch)
tree051926e05d7750b5fb3bd9b4c7afc0d243aed501 /src/server/game/Maps/Map.h
parentf7c1ae01f83449348ba1cd275188e895f00e3422 (diff)
Core/Common: Replace ASSERT(false, "...") with ABORT_MSG("...")
(cherry picked from commit 54c701cf0db81c0062e8c5020e07db18984d0ffa)
Diffstat (limited to 'src/server/game/Maps/Map.h')
-rw-r--r--src/server/game/Maps/Map.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/game/Maps/Map.h b/src/server/game/Maps/Map.h
index 48e8c49a4a9..80080876d02 100644
--- a/src/server/game/Maps/Map.h
+++ b/src/server/game/Maps/Map.h
@@ -832,7 +832,7 @@ class TC_GAME_API Map : public GridRefManager<NGridType>
switch (type)
{
default:
- ASSERT(false);
+ ABORT();
case SPAWN_TYPE_CREATURE:
return &_creatureRespawnTimesBySpawnId;
case SPAWN_TYPE_GAMEOBJECT:
@@ -846,7 +846,7 @@ class TC_GAME_API Map : public GridRefManager<NGridType>
switch (type)
{
default:
- ASSERT(false);
+ ABORT();
case SPAWN_TYPE_CREATURE:
return &_creatureRespawnTimesBySpawnId;
case SPAWN_TYPE_GAMEOBJECT: