summaryrefslogtreecommitdiff
path: root/src/resources/loaders/subimageloader.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-04-08 20:30:40 +0300
committerAndrei Karas <akaras@inbox.ru>2017-04-08 20:30:40 +0300
commitfd3223578c0a0789627a92cc63235c24e75f87c3 (patch)
tree48b90671150a8ea4a7d3b9306d3eabca349d556a /src/resources/loaders/subimageloader.cpp
parent27a2dd4fce2d529cd1d96aa5ddce1e74b4f54a2f (diff)
downloadmanaverse-fd3223578c0a0789627a92cc63235c24e75f87c3.tar.gz
manaverse-fd3223578c0a0789627a92cc63235c24e75f87c3.tar.bz2
manaverse-fd3223578c0a0789627a92cc63235c24e75f87c3.tar.xz
manaverse-fd3223578c0a0789627a92cc63235c24e75f87c3.zip
Remove most setters and getters from Resource class.
Diffstat (limited to 'src/resources/loaders/subimageloader.cpp')
-rw-r--r--src/resources/loaders/subimageloader.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/resources/loaders/subimageloader.cpp b/src/resources/loaders/subimageloader.cpp
index 804e957a5..c63bf74d6 100644
--- a/src/resources/loaders/subimageloader.cpp
+++ b/src/resources/loaders/subimageloader.cpp
@@ -57,7 +57,7 @@ namespace
if (!res)
{
reportAlways("SubImage loading error: %s",
- rl->parent->getSource().c_str());
+ rl->parent->mSource.c_str());
}
return res;
}
@@ -75,7 +75,7 @@ Image *Loader::getSubImage(Image *const parent,
const SubImageLoader rl = { parent, x, y, width, height};
- const std::string str = std::string(parent->getIdPath()).append(
+ const std::string str = std::string(parent->mIdPath).append(
",[").append(
toString(x)).append(
",").append(