diff options
author | jackpoz <giacomopoz@gmail.com> | 2020-06-26 23:28:33 +0200 |
---|---|---|
committer | jackpoz <giacomopoz@gmail.com> | 2020-06-26 23:37:52 +0200 |
commit | 54c701cf0db81c0062e8c5020e07db18984d0ffa (patch) | |
tree | 20ae8c2d51f4868970788417fdda90cb1fb9bc9c /src/common/DataStores/DBCFileLoader.cpp | |
parent | 49da3533cd4a0fcd8b2ac7ae0bf4b105f40f8c77 (diff) |
Core/Common: Replace ASSERT(false, "...") with ABORT_MSG("...")
Diffstat (limited to 'src/common/DataStores/DBCFileLoader.cpp')
-rw-r--r-- | src/common/DataStores/DBCFileLoader.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/common/DataStores/DBCFileLoader.cpp b/src/common/DataStores/DBCFileLoader.cpp index 466087d2430..842203278fb 100644 --- a/src/common/DataStores/DBCFileLoader.cpp +++ b/src/common/DataStores/DBCFileLoader.cpp @@ -153,10 +153,10 @@ uint32 DBCFileLoader::GetFormatRecordSize(char const* format, int32* index_pos) case FT_NA_BYTE: break; case FT_LOGIC: - ASSERT(false && "Attempted to load DBC files that do not have field types that match what is in the core. Check DBCfmt.h or your DBC files."); + ABORT_MSG("Attempted to load DBC files that do not have field types that match what is in the core. Check DBCfmt.h or your DBC files."); break; default: - ASSERT(false && "Unknown field format character in DBCfmt.h"); + ABORT_MSG("Unknown field format character in DBCfmt.h"); break; } } @@ -243,14 +243,14 @@ char* DBCFileLoader::AutoProduceData(char const* format, uint32& records, char** offset += sizeof(char*); break; case FT_LOGIC: - ASSERT(false && "Attempted to load DBC files that do not have field types that match what is in the core. Check DBCfmt.h or your DBC files."); + ABORT_MSG("Attempted to load DBC files that do not have field types that match what is in the core. Check DBCfmt.h or your DBC files."); break; case FT_NA: case FT_NA_BYTE: case FT_SORT: break; default: - ASSERT(false && "Unknown field format character in DBCfmt.h"); + ABORT_MSG("Unknown field format character in DBCfmt.h"); break; } } @@ -298,14 +298,14 @@ char* DBCFileLoader::AutoProduceStrings(char const* format, char* dataTable) break; } case FT_LOGIC: - ASSERT(false && "Attempted to load DBC files that does not have field types that match what is in the core. Check DBCfmt.h or your DBC files."); + ABORT_MSG("Attempted to load DBC files that does not have field types that match what is in the core. Check DBCfmt.h or your DBC files."); break; case FT_NA: case FT_NA_BYTE: case FT_SORT: break; default: - ASSERT(false && "Unknown field format character in DBCfmt.h"); + ABORT_MSG("Unknown field format character in DBCfmt.h"); break; } } |