summaryrefslogtreecommitdiff
path: root/src/being/being.h
diff options
context:
space:
mode:
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.