diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-04 21:39:15 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-04 21:39:15 +0300 |
commit | 1a31d0573e3e714664631ac40686c0d61b4bccc9 (patch) | |
tree | f8cd5bb7265820d29cfda5c83a2094a793f5a795 /src/being/being.h | |
parent | 2521a791d764920c194e8fe299110e98dc2e5ab3 (diff) | |
download | manaplus-1a31d0573e3e714664631ac40686c0d61b4bccc9.tar.gz manaplus-1a31d0573e3e714664631ac40686c0d61b4bccc9.tar.bz2 manaplus-1a31d0573e3e714664631ac40686c0d61b4bccc9.tar.xz manaplus-1a31d0573e3e714664631ac40686c0d61b4bccc9.zip |
Remove getter size from compoundsprite.
Diffstat (limited to 'src/being/being.h')
-rw-r--r-- | src/being/being.h | 4 |
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. |