summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/client.cpp b/src/client.cpp
index ae76813ab..cd0030f3a 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -358,12 +358,16 @@ void Client::gameInit()
SDL_EventState(SDL_USEREVENT, SDL_IGNORE);
#ifdef WIN32
+ extractDataDir();
+ mountDataDir();
+ setIcon();
+ initGraphics();
+#else
setIcon();
-#endif
-
initGraphics();
extractDataDir();
mountDataDir();
+#endif
if (mOptions.dataPath.empty()
&& !branding.getStringValue("dataPath").empty())