diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-10 00:37:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-10 00:37:35 +0300 |
commit | d78965b4c853ede29a0898cbf0c33c3cc3bbdfa3 (patch) | |
tree | 1c6343ee3fe4a309fb615f72e1bb7ba4dfb8aa14 /src/client.cpp | |
parent | 923633ae61b255c64dee9cf011382086453286d8 (diff) | |
download | manaplus-d78965b4c853ede29a0898cbf0c33c3cc3bbdfa3.tar.gz manaplus-d78965b4c853ede29a0898cbf0c33c3cc3bbdfa3.tar.bz2 manaplus-d78965b4c853ede29a0898cbf0c33c3cc3bbdfa3.tar.xz manaplus-d78965b4c853ede29a0898cbf0c33c3cc3bbdfa3.zip |
Possible load mods from local/ dir also.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/client.cpp b/src/client.cpp index 649c1f08c..3f049340f 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1176,10 +1176,12 @@ int Client::gameExec() Net::getPartyHandler()->clear(); if (chatLogger) chatLogger->clear(); - if (mOptions.dataPath.empty()) - UpdaterWindow::unloadMods(mOldUpdates); - else + if (!mOptions.dataPath.empty()) UpdaterWindow::unloadMods(mOptions.dataPath); + else + UpdaterWindow::unloadMods(mOldUpdates); + if (!mOptions.skipUpdate) + UpdaterWindow::unloadMods(mOldUpdates + "/fix/"); } mOldState = mState; |