summaryrefslogtreecommitdiffstats
path: root/src/Item.h
diff options
context:
space:
mode:
authorandrew <xdotftw@gmail.com>2014-05-12 20:38:52 +0200
committerandrew <xdotftw@gmail.com>2014-05-12 20:38:52 +0200
commitaea866f5b10d5ab0226260b4d25c70b1cfd31d2a (patch)
treea9d6352a70c41f3b32eb093fb18f8171971738c5 /src/Item.h
parentcEntity::Killed(cEntity *) Handler; Achievement triggers; cPlayer::AwardAchievement() (diff)
downloadcuberite-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 'src/Item.h')
-rw-r--r--src/Item.h2
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)