diff options
author | andrew <xdotftw@gmail.com> | 2014-05-12 20:38:52 +0200 |
---|---|---|
committer | andrew <xdotftw@gmail.com> | 2014-05-12 20:38:52 +0200 |
commit | aea866f5b10d5ab0226260b4d25c70b1cfd31d2a (patch) | |
tree | a9d6352a70c41f3b32eb093fb18f8171971738c5 /src/Item.h | |
parent | cEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement() (diff) | |
download | cuberite-aea866f5b10d5ab0226260b4d25c70b1cfd31d2a.tar cuberite-aea866f5b10d5ab0226260b4d25c70b1cfd31d2a.tar.gz cuberite-aea866f5b10d5ab0226260b4d25c70b1cfd31d2a.tar.bz2 cuberite-aea866f5b10d5ab0226260b4d25c70b1cfd31d2a.tar.lz cuberite-aea866f5b10d5ab0226260b4d25c70b1cfd31d2a.tar.xz cuberite-aea866f5b10d5ab0226260b4d25c70b1cfd31d2a.tar.zst cuberite-aea866f5b10d5ab0226260b4d25c70b1cfd31d2a.zip |
Diffstat (limited to '')
-rw-r--r-- | src/Item.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Item.h b/src/Item.h index 2f65d5344..acbc880dc 100644 --- a/src/Item.h +++ b/src/Item.h @@ -228,7 +228,7 @@ public: void Add (const cItem & a_Item) {push_back(a_Item); } void Delete(int a_Idx); void Clear (void) {clear(); } - size_t Size (void) {return size(); } + size_t Size (void) const { return size(); } void Set (int a_Idx, short a_ItemType, char a_ItemCount, short a_ItemDamage); void Add (short a_ItemType, char a_ItemCount, short a_ItemDamage) |