From 929d29996585c4f2e4461519ccf2803936b81ae1 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Wed, 10 Apr 2013 21:03:15 +0000 Subject: ItemGrid: Renamed all Item to Slot - better and consistent naming git-svn-id: http://mc-server.googlecode.com/svn/trunk@1381 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/ChestEntity.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/ChestEntity.h') diff --git a/source/ChestEntity.h b/source/ChestEntity.h index be8172073..69e86b86c 100644 --- a/source/ChestEntity.h +++ b/source/ChestEntity.h @@ -41,8 +41,8 @@ public: static const char * GetClassStatic() { return "cChestEntity"; } // tolua_begin - const cItem & GetSlot(int a_Slot) const { return m_Contents.GetItem(a_Slot); } - void SetSlot(int a_Slot, const cItem & a_Item ) { m_Contents.SetItem(a_Slot, a_Item); } + const cItem & GetSlot(int a_Slot) const { return m_Contents.GetSlot(a_Slot); } + void SetSlot(int a_Slot, const cItem & a_Item ) { m_Contents.SetSlot(a_Slot, a_Item); } // tolua_end bool LoadFromJson( const Json::Value& a_Value ); -- cgit v1.2.3