summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-18 21:51:16 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-18 21:51:16 +0300
commit266773f838c6c0c6f857a7a7fbcbbe8d6333f03b (patch)
tree5d9b5a74d0faf7c6fc1b253593cc856de11bbb3c /src/resources
parent07fa80d2c125df1cb716e9535e15aa7cc03761fb (diff)
downloadmanaplus-266773f838c6c0c6f857a7a7fbcbbe8d6333f03b.tar.gz
manaplus-266773f838c6c0c6f857a7a7fbcbbe8d6333f03b.tar.bz2
manaplus-266773f838c6c0c6f857a7a7fbcbbe8d6333f03b.tar.xz
manaplus-266773f838c6c0c6f857a7a7fbcbbe8d6333f03b.zip
Replace left direct physfs functions calls into physfs namespace functions.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/resourcemanager/resourcemanager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/resourcemanager/resourcemanager.cpp b/src/resources/resourcemanager/resourcemanager.cpp
index 04811510e..0612fdbb4 100644
--- a/src/resources/resourcemanager/resourcemanager.cpp
+++ b/src/resources/resourcemanager/resourcemanager.cpp
@@ -349,7 +349,7 @@ bool ResourceManager::addToSearchPath(const std::string &path,
{
logger->log("Error: %s: addToSearchPath failed: %s",
path.c_str(),
- PHYSFS_getLastError());
+ PhysFs::getLastError());
return false;
}
return true;
@@ -362,7 +362,7 @@ bool ResourceManager::removeFromSearchPath(const std::string &path) const
{
logger->log("Error: %s: removeFromSearchPath failed: %s",
path.c_str(),
- PHYSFS_getLastError());
+ PhysFs::getLastError());
return false;
}
return true;