summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-08-23 22:20:47 +0300
committerAndrei Karas <akaras@inbox.ru>2013-08-24 21:08:17 +0300
commit576b7dca4676ba2c1ea63afb6bbc96fd11183048 (patch)
tree5eef4087911e0e74ebcfb4d2026b811f0256cc71 /src/resources
parentc97f245c597ebe8f488e72c435960dbee9bf66c6 (diff)
downloadmv-576b7dca4676ba2c1ea63afb6bbc96fd11183048.tar.gz
mv-576b7dca4676ba2c1ea63afb6bbc96fd11183048.tar.bz2
mv-576b7dca4676ba2c1ea63afb6bbc96fd11183048.tar.xz
mv-576b7dca4676ba2c1ea63afb6bbc96fd11183048.zip
improve dirs usage in Client.
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);
}