summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-04 21:39:15 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-04 21:39:15 +0300
commit1a31d0573e3e714664631ac40686c0d61b4bccc9 (patch)
treef8cd5bb7265820d29cfda5c83a2094a793f5a795 /src/being/being.h
parent2521a791d764920c194e8fe299110e98dc2e5ab3 (diff)
downloadplus-1a31d0573e3e714664631ac40686c0d61b4bccc9.tar.gz
plus-1a31d0573e3e714664631ac40686c0d61b4bccc9.tar.bz2
plus-1a31d0573e3e714664631ac40686c0d61b4bccc9.tar.xz
plus-1a31d0573e3e714664631ac40686c0d61b4bccc9.zip
Remove getter size from compoundsprite.
Diffstat (limited to 'src/being/being.h')
-rw-r--r--src/being/being.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/being/being.h b/src/being/being.h
index 8c518cf26..17286026a 100644
--- a/src/being/being.h
+++ b/src/being/being.h
@@ -303,8 +303,8 @@ class Being notfinal : public ActorSprite,
Party *getParty() const restrict2 noexcept A_WARN_UNUSED
{ return mParty; }
- int getSpritesCount() const restrict2 A_WARN_UNUSED
- { return CAST_S32(size()); }
+ size_t getSpritesCount() const restrict2 A_WARN_UNUSED
+ { return mSprites.size(); }
/**
* Sets visible equipments for this being.