Commit 078544a2dcc54cd3e52914a39d0cbebfc62024f4

  • avatar
  • Bertram <bertram @ceg…el.net>
  • Thu Oct 22 02:36:35 CEST 2009
  • Tree SHA1: 96a165e
  • Parent SHA1: 3c6d873 (Optimized game startup sequence for eAthena in order to cope a bit better with network errors.)
  • raw diff | raw patch
Made the -d data path don't be bothered by updates and customdata files.
src/main.cpp
(10 / 7)
  
10421042 case STATE_LOAD_DATA:
10431043 logger->log("State: LOAD DATA");
10441044
1045 // Load the updates downloaded so far...
1046 loadUpdates();
1045 if (options.dataPath.empty())
1046 {
1047 // Load the updates downloaded so far...
1048 loadUpdates();
10471049
1048 // Also add customdata directory
1049 ResourceManager::getInstance()->searchAndAddArchives(
1050 "customdata/",
1051 "zip",
1052 false);
1050 // Also add customdata directory
1051 ResourceManager::getInstance()->searchAndAddArchives(
1052 "customdata/",
1053 "zip",
1054 false);
1055 }
10531056
10541057 // Load XML databases
10551058 ColorDB::load();