summaryrefslogtreecommitdiffstats
path: root/src/BlockEntities/BlockEntityWithItems.h
diff options
context:
space:
mode:
authorTycho Bickerstaff <work.tycho@gmail.com>2013-12-22 14:46:55 +0100
committerTycho Bickerstaff <work.tycho@gmail.com>2013-12-22 14:46:55 +0100
commitd7242414070aa823f879f225b0cf734f4a880759 (patch)
tree5a49a42221aca3ff37f901274ad60746f9747c40 /src/BlockEntities/BlockEntityWithItems.h
parentMerge branch 'master' of github.com:mc-server/MCServer (diff)
downloadcuberite-d7242414070aa823f879f225b0cf734f4a880759.tar
cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.gz
cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.bz2
cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.lz
cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.xz
cuberite-d7242414070aa823f879f225b0cf734f4a880759.tar.zst
cuberite-d7242414070aa823f879f225b0cf734f4a880759.zip
Diffstat (limited to 'src/BlockEntities/BlockEntityWithItems.h')
-rw-r--r--src/BlockEntities/BlockEntityWithItems.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/BlockEntities/BlockEntityWithItems.h b/src/BlockEntities/BlockEntityWithItems.h
index f2c51fd9e..bf6289a2f 100644
--- a/src/BlockEntities/BlockEntityWithItems.h
+++ b/src/BlockEntities/BlockEntityWithItems.h
@@ -71,8 +71,9 @@ protected:
cItemGrid m_Contents;
// cItemGrid::cListener overrides:
- virtual void OnSlotChanged(cItemGrid * a_Grid, int /*a_SlotNum*/)
+ virtual void OnSlotChanged(cItemGrid * a_Grid, int a_SlotNum)
{
+ UNUSED(a_SlotNum);
ASSERT(a_Grid == &m_Contents);
if (m_World != NULL)
{