summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/atlasmanager.cpp2
-rw-r--r--src/resources/resourcemanager.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/atlasmanager.cpp b/src/resources/atlasmanager.cpp
index 2388856c1..5f4897147 100644
--- a/src/resources/atlasmanager.cpp
+++ b/src/resources/atlasmanager.cpp
@@ -71,7 +71,7 @@ AtlasResource *AtlasManager::loadTextureAtlas(const std::string &name,
continue;
// debug save
-// ImageWriter::writePNG(surface, Client::getTempDirectory()
+// ImageWriter::writePNG(surface, client->getTempDirectory()
// + "/atlas" + name + toString(k) + ".png");
// k ++;
diff --git a/src/resources/resourcemanager.cpp b/src/resources/resourcemanager.cpp
index 83beb8e9c..03cc2bc41 100644
--- a/src/resources/resourcemanager.cpp
+++ b/src/resources/resourcemanager.cpp
@@ -434,7 +434,7 @@ std::string ResourceManager::getPath(const std::string &file) const
else
{
// if not found in search path return the default path
- path = std::string(Client::getPackageDirectory()).append(
+ path = std::string(client->getPackageDirectory()).append(
dirSeparator).append(file);
}