feat(Core): Added ABORT() macro to prevent the usage of ASSERT(false) as a quick hack to crash the core misusing assert (#2273)
This commit is contained in:
@@ -64,7 +64,7 @@ void MPQManager::InitializeDBC()
|
||||
if (BaseLocale == -1)
|
||||
{
|
||||
printf("No locale data detected. Please make sure that the executable is in the same folder as your WoW installation.\n");
|
||||
ASSERT(false);
|
||||
ABORT();
|
||||
}
|
||||
else
|
||||
printf("Using default locale: %s\n", Languages[BaseLocale]);
|
||||
|
||||
Reference in New Issue
Block a user