diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-01-10 01:23:06 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-01-10 01:23:06 +0300 |
commit | 0b4614a2d3dee49097b8131150df21ef585bf854 (patch) | |
tree | 8f3041e81ddd7a5595634b2de8406e1b89da26b8 /src | |
parent | d78965b4c853ede29a0898cbf0c33c3cc3bbdfa3 (diff) | |
download | manaverse-0b4614a2d3dee49097b8131150df21ef585bf854.tar.gz manaverse-0b4614a2d3dee49097b8131150df21ef585bf854.tar.bz2 manaverse-0b4614a2d3dee49097b8131150df21ef585bf854.tar.xz manaverse-0b4614a2d3dee49097b8131150df21ef585bf854.zip |
fix mods loading from update server patches.
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/windows/updaterwindow.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/windows/updaterwindow.cpp b/src/gui/windows/updaterwindow.cpp index dee1d209c..7ecfb0d7d 100644 --- a/src/gui/windows/updaterwindow.cpp +++ b/src/gui/windows/updaterwindow.cpp @@ -646,7 +646,10 @@ void UpdaterWindow::loadManaPlusUpdates(const std::string &dir, for (unsigned int updateIndex = 0, sz = static_cast<unsigned int>( updateFiles.size()); updateIndex < sz; updateIndex ++) { - std::string name = updateFiles[updateIndex].name; + const UpdateFile &file = updateFiles[updateIndex]; + if (!file.group.empty()) + continue; + const std::string name = file.name; if (strStartWith(name, "manaplus_")) { struct stat statbuf; |