summaryrefslogtreecommitdiff
path: root/src/client.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-13 15:25:21 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-13 15:25:21 +0300
commit63f37017719d01f9ea72fb1f1e1722918a368755 (patch)
tree555c9d860becb70205bf2608bea2d869e2386b7e /src/client.cpp
parent20ba8c348fe5e4d3af16fd3775e74d2200a53b98 (diff)
downloadmanaplus-63f37017719d01f9ea72fb1f1e1722918a368755.tar.gz
manaplus-63f37017719d01f9ea72fb1f1e1722918a368755.tar.bz2
manaplus-63f37017719d01f9ea72fb1f1e1722918a368755.tar.xz
manaplus-63f37017719d01f9ea72fb1f1e1722918a368755.zip
Remove from resourcemanager function for add/remove archives from directory.
Diffstat (limited to 'src/client.cpp')
-rw-r--r--src/client.cpp8
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);