summaryrefslogtreecommitdiff
path: root/src/actions
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/actions
parent27a2dd4fce2d529cd1d96aa5ddce1e74b4f54a2f (diff)
downloadmanaplus-fd3223578c0a0789627a92cc63235c24e75f87c3.tar.gz
manaplus-fd3223578c0a0789627a92cc63235c24e75f87c3.tar.bz2
manaplus-fd3223578c0a0789627a92cc63235c24e75f87c3.tar.xz
manaplus-fd3223578c0a0789627a92cc63235c24e75f87c3.zip
Remove most setters and getters from Resource class.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/actions.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/actions/actions.cpp b/src/actions/actions.cpp
index c6d48a1d9..844c91272 100644
--- a/src/actions/actions.cpp
+++ b/src/actions/actions.cpp
@@ -1240,7 +1240,7 @@ static void showRes(std::string str, ResourceManager::Resources *res)
const ResourceManager::ResourceIterator iter_end = res->end();
while (iter != iter_end)
{
- if (iter->second && iter->second->getRefCount())
+ if (iter->second && iter->second->mRefCount)
{
char type = ' ';
char isNew = 'N';
@@ -1261,7 +1261,7 @@ static void showRes(std::string str, ResourceManager::Resources *res)
id = image->getGLImage();
logger->log("Resource %c%c: %s (%d) id=%d", type,
isNew, iter->second->getIdPath().c_str(),
- iter->second->getRefCount(), id);
+ iter->second->mRefCount, id);
}
++ iter;
}