summaryrefslogtreecommitdiffstats
path: root/src/app/app.h
diff options
context:
space:
mode:
authorerihel <erihel@gmail.com>2013-07-16 16:00:06 +0200
committererihel <erihel@gmail.com>2013-07-16 16:00:06 +0200
commitb5e87aa91fc0ebafc0e00d17c19663dff7d1ac0d (patch)
tree478a4e920e62c4bffe9785203ac7dbfc5055e6c9 /src/app/app.h
parent3e8568bda49b55c7e5c0cd40f3988cf1f1e9f62d (diff)
downloadcolobot-b5e87aa91fc0ebafc0e00d17c19663dff7d1ac0d.tar.gz
colobot-b5e87aa91fc0ebafc0e00d17c19663dff7d1ac0d.tar.bz2
colobot-b5e87aa91fc0ebafc0e00d17c19663dff7d1ac0d.zip
Datadir in command line didn't work with config.
Values from config file overwrote datadir
Diffstat (limited to 'src/app/app.h')
-rw-r--r--src/app/app.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/app/app.h b/src/app/app.h
index 269fa9b..6b02f67 100644
--- a/src/app/app.h
+++ b/src/app/app.h
@@ -480,6 +480,9 @@ protected:
//! Path to directory with data files
std::string m_dataPath;
+ //! True if datadir was passed in command line
+ bool m_customDataPath;
+
//! Path to directory with language files
std::string m_langPath;