summaryrefslogtreecommitdiff
path: root/src/actormanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-05 00:31:23 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-05 00:31:23 +0300
commit21b14e4b8708be1d9b804f61330ef7cd5521397d (patch)
tree798bfa72c765361c169e4869f56365c2ff3f04a8 /src/actormanager.cpp
parent9688b5ea674e17e1ba093f36a5be4d00a15f47b8 (diff)
downloadmanaverse-21b14e4b8708be1d9b804f61330ef7cd5521397d.tar.gz
manaverse-21b14e4b8708be1d9b804f61330ef7cd5521397d.tar.bz2
manaverse-21b14e4b8708be1d9b804f61330ef7cd5521397d.tar.xz
manaverse-21b14e4b8708be1d9b804f61330ef7cd5521397d.zip
Remove getter getSpritesCount from Being.
Diffstat (limited to 'src/actormanager.cpp')
-rw-r--r--src/actormanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/actormanager.cpp b/src/actormanager.cpp
index b85c4fa17..d022e6127 100644
--- a/src/actormanager.cpp
+++ b/src/actormanager.cpp
@@ -1982,7 +1982,7 @@ Being *ActorManager::cloneBeing(const Being *const srcBeing,
srcBeing->getTileY() + dy);
dstBeing->setName(srcBeing->getName());
dstBeing->setDirection(srcBeing->getDirection());
- const int sz = CAST_S32(srcBeing->getSpritesCount());
+ const int sz = CAST_S32(srcBeing->mSprites.size());
for (int slot = 0; slot < sz; slot ++)
{
const int spriteId = srcBeing->getSpriteID(slot);