From eb3ed1aec1fb9e4468a7829cabd42572b7554d70 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 19 Aug 2012 11:51:17 +0000 Subject: Another handful of packets rewritten. Also changed cItem::m_ItemID into m_ItemType of type short. Easier handling. m_ItemID kept for compatibility reasons (Lua-interface etc.) git-svn-id: http://mc-server.googlecode.com/svn/trunk@756 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/cWindow.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/cWindow.h') diff --git a/source/cWindow.h b/source/cWindow.h index cbb90b893..37ac5239d 100644 --- a/source/cWindow.h +++ b/source/cWindow.h @@ -46,11 +46,11 @@ public: cWindow(cWindowOwner * a_Owner, bool a_bInventoryVisible, WindowType a_WindowType, int a_WindowID); ~cWindow(); - int GetWindowID() { return m_WindowID; } + int GetWindowID(void) const { return m_WindowID; } int GetWindowType(void) const { return m_WindowType; } - cItem* GetSlots() { return m_Slots; } - int GetNumSlots() { return m_NumSlots; } + cItem* GetSlots(void) const { return m_Slots; } + int GetNumSlots(void) const { return m_NumSlots; } cItem* GetSlot( int a_Slot ); -- cgit v1.2.3