aboutsummaryrefslogtreecommitdiff
path: root/src/tools/map_extractor
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2023-12-01 19:53:13 +0100
committerShauren <shauren.trinity@gmail.com>2023-12-02 15:57:09 +0100
commiteb50b29ab3d95c713bdc5cb508ec06a69704921d (patch)
tree48d50f659a2015e01af0d4c6556c43e8f6ba5544 /src/tools/map_extractor
parente2b26f2038e40760a0f46ae587af9ec985d041eb (diff)
Core/Misc: Added windows version checks during startup to avoid confusion about crashes when running on unsupported OS
(cherry picked from commit 333630b7de15c4090392fcbbc1bc58da4d5fb138)
Diffstat (limited to 'src/tools/map_extractor')
-rw-r--r--src/tools/map_extractor/System.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/tools/map_extractor/System.cpp b/src/tools/map_extractor/System.cpp
index d5210560b10..25eb1a9f9e7 100644
--- a/src/tools/map_extractor/System.cpp
+++ b/src/tools/map_extractor/System.cpp
@@ -20,6 +20,7 @@
#include "Locales.h"
#include "mpq_libmpq04.h"
#include "StringFormat.h"
+#include "Util.h"
#include "adt.h"
#include "wdt.h"
@@ -1121,6 +1122,8 @@ inline void CloseMPQFiles()
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);