mirror of
https://github.com/araxiaonline/TrinityCore.git
synced 2026-06-21 15:27:47 -04:00
Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS
This commit is contained in:
@@ -26,6 +26,7 @@
|
||||
#include "Locales.h"
|
||||
#include "MapDefines.h"
|
||||
#include "StringFormat.h"
|
||||
#include "Util.h"
|
||||
#include "adt.h"
|
||||
#include "wdt.h"
|
||||
#include <CascLib.h>
|
||||
@@ -1470,6 +1471,8 @@ static bool RetardCheck()
|
||||
|
||||
int main(int argc, char * arg[])
|
||||
{
|
||||
Trinity::VerifyOsVersion();
|
||||
|
||||
Trinity::Locale::Init();
|
||||
|
||||
Trinity::Banner::Show("Map & DBC Extractor", [](char const* text) { printf("%s\n", text); }, nullptr);
|
||||
|
||||
Reference in New Issue
Block a user