summaryrefslogtreecommitdiffstats
path: root/src/app/app.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/app.cpp')
-rw-r--r--src/app/app.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/app/app.cpp b/src/app/app.cpp
index ce6a6b5..adc7ea3 100644
--- a/src/app/app.cpp
+++ b/src/app/app.cpp
@@ -151,8 +151,13 @@ CApplication::CApplication()
m_mouseButtonsState = 0;
m_trackedKeys = 0;
+ #ifdef PORTABLE
+ m_dataPath = "./data";
+ m_langPath = "./lang";
+ #else
m_dataPath = GetSystemUtils()->GetDataPath();
m_langPath = GetSystemUtils()->GetLangPath();
+ #endif
m_runSceneName = "";
m_runSceneRank = 0;