From 333630b7de15c4090392fcbbc1bc58da4d5fb138 Mon Sep 17 00:00:00 2001 From: Shauren Date: Fri, 1 Dec 2023 19:53:13 +0100 Subject: Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS --- src/tools/map_extractor/System.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/tools/map_extractor') 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 @@ -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); -- cgit v1.2.3