summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-11-19 21:25:27 +0300
committerAndrei Karas <akaras@inbox.ru>2015-11-19 21:25:27 +0300
commit7225c69c5bf2de13d32d6e9a658779405c8e2707 (patch)
tree5fbd69d62ae8bd65b7b7a2e9986041aee4829888 /src/client.cpp
parentc0af9f41451d782b316feea8cf93fc50d4bd6733 (diff)
downloadmv-7225c69c5bf2de13d32d6e9a658779405c8e2707.tar.gz
mv-7225c69c5bf2de13d32d6e9a658779405c8e2707.tar.bz2
mv-7225c69c5bf2de13d32d6e9a658779405c8e2707.tar.xz
mv-7225c69c5bf2de13d32d6e9a658779405c8e2707.zip
Add strong typed bool enum Append.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp13
1 files changed, 8 insertions, 5 deletions
diff --git a/src/client.cpp b/src/client.cpp
index e5de2effe..1eb5363a3 100644
--- a/src/client.cpp
+++ b/src/client.cpp
@@ -363,10 +363,13 @@ void Client::gameInit()
// Add the main data directories to our PhysicsFS search path
if (!settings.options.dataPath.empty())
- resourceManager->addToSearchPath(settings.options.dataPath, false);
+ {
+ resourceManager->addToSearchPath(settings.options.dataPath,
+ Append_false);
+ }
// Add the local data directory to PhysicsFS search path
- resourceManager->addToSearchPath(settings.localDataDir, false);
+ resourceManager->addToSearchPath(settings.localDataDir, Append_false);
TranslationManager::loadCurrentLang();
WindowManager::initTitle();
@@ -1214,7 +1217,7 @@ int Client::gameExec()
resourceManager->searchAndAddArchives(
"customdata/",
"zip",
- false);
+ Append_false);
}
if (!settings.options.skipUpdate)
@@ -1222,14 +1225,14 @@ int Client::gameExec()
resourceManager->searchAndAddArchives(
settings.updatesDir + "/local/",
"zip",
- false);
+ Append_false);
resourceManager->addToSearchPath(
settings.localDataDir +
dirSeparator +
settings.updatesDir +
"/local/",
- false);
+ Append_false);
}
logger->log("Init paths");