diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-13 15:25:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-13 15:25:21 +0300 |
commit | 63f37017719d01f9ea72fb1f1e1722918a368755 (patch) | |
tree | 555c9d860becb70205bf2608bea2d869e2386b7e /src/client.cpp | |
parent | 20ba8c348fe5e4d3af16fd3775e74d2200a53b98 (diff) | |
download | ManaVerse-63f37017719d01f9ea72fb1f1e1722918a368755.tar.gz ManaVerse-63f37017719d01f9ea72fb1f1e1722918a368755.tar.bz2 ManaVerse-63f37017719d01f9ea72fb1f1e1722918a368755.tar.xz ManaVerse-63f37017719d01f9ea72fb1f1e1722918a368755.zip |
Remove from resourcemanager function for add/remove archives from directory.
Diffstat (limited to 'src/client.cpp')
-rw-r--r-- | src/client.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/client.cpp b/src/client.cpp index 29fdc971a..79d4ce339 100644 --- a/src/client.cpp +++ b/src/client.cpp @@ -1074,7 +1074,7 @@ int Client::gameExec() if (settings.options.dataPath.empty()) { // Add customdata directory - resourceManager->searchAndRemoveArchives( + VirtFs::searchAndRemoveArchives( "customdata/", "zip"); } @@ -1087,7 +1087,7 @@ int Client::gameExec() if (!settings.options.skipUpdate) { - resourceManager->searchAndRemoveArchives( + VirtFs::searchAndRemoveArchives( settings.updatesDir + "/local/", "zip"); @@ -1302,7 +1302,7 @@ int Client::gameExec() if (settings.options.dataPath.empty()) { // Add customdata directory - resourceManager->searchAndAddArchives( + VirtFs::searchAndAddArchives( "customdata/", "zip", Append_false); @@ -1310,7 +1310,7 @@ int Client::gameExec() if (!settings.options.skipUpdate) { - resourceManager->searchAndAddArchives( + VirtFs::searchAndAddArchives( settings.updatesDir + "/local/", "zip", Append_false); |