diff options
| author | Shauren <shauren.trinity@gmail.com> | 2023-12-01 19:53:13 +0100 |
|---|---|---|
| committer | Shauren <shauren.trinity@gmail.com> | 2023-12-01 19:53:13 +0100 |
| commit | 333630b7de15c4090392fcbbc1bc58da4d5fb138 (patch) | |
| tree | fc40b0467ea09379a8f18059ebc029ea0a18c38a /src/tools/map_extractor | |
| parent | 8d6578b58025e71f88297cb2b6d222251b4bbe75 (diff) | |
Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS
Diffstat (limited to 'src/tools/map_extractor')
| -rw-r--r-- | src/tools/map_extractor/System.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/map_extractor/System.cpp b/src/tools/map_extractor/System.cpp index 8d50b414ea6..cdcb9aff2c8 100644 --- a/src/tools/map_extractor/System.cpp +++ b/src/tools/map_extractor/System.cpp @@ -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); |
