summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-10-21 19:46:59 -0600
committerJared Adams <jaxad0127@gmail.com>2009-10-21 19:46:59 -0600
commit7e9cd47d1aa10f7b556d04903d20f8884ca3eb35 (patch)
tree198cef1684e7a198c4017dbd8732629fb1270bca /src
parent078544a2dcc54cd3e52914a39d0cbebfc62024f4 (diff)
downloadmana-client-7e9cd47d1aa10f7b556d04903d20f8884ca3eb35.tar.gz
mana-client-7e9cd47d1aa10f7b556d04903d20f8884ca3eb35.tar.bz2
mana-client-7e9cd47d1aa10f7b556d04903d20f8884ca3eb35.tar.xz
mana-client-7e9cd47d1aa10f7b556d04903d20f8884ca3eb35.zip
Revert "Made the -d data path don't be bothered by updates and customdata files."
This reverts commit 078544a2dcc54cd3e52914a39d0cbebfc62024f4.
Diffstat (limited to 'src')
-rw-r--r--src/main.cpp19
1 files changed, 8 insertions, 11 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 87709e5b..92cbae77 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -1042,17 +1042,14 @@ int main(int argc, char *argv[])
case STATE_LOAD_DATA:
logger->log("State: LOAD DATA");
- if (options.dataPath.empty())
- {
- // Load the updates downloaded so far...
- loadUpdates();
-
- // Also add customdata directory
- ResourceManager::getInstance()->searchAndAddArchives(
- "customdata/",
- "zip",
- false);
- }
+ // Load the updates downloaded so far...
+ loadUpdates();
+
+ // Also add customdata directory
+ ResourceManager::getInstance()->searchAndAddArchives(
+ "customdata/",
+ "zip",
+ false);
// Load XML databases
ColorDB::load();