From 6711fcd6360a4a0a5efba95d51b1fd1cb456471c Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Fri, 10 Aug 2012 19:01:36 +0000 Subject: Fixed a crash in creative inventory (FS 235, patch submitted by l0udPL) git-svn-id: http://mc-server.googlecode.com/svn/trunk@722 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/packets/cPacket_WindowClick.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'source/packets') diff --git a/source/packets/cPacket_WindowClick.h b/source/packets/cPacket_WindowClick.h index 2d78d3f00..e9abd80df 100644 --- a/source/packets/cPacket_WindowClick.h +++ b/source/packets/cPacket_WindowClick.h @@ -33,9 +33,9 @@ public: // 9-35 = inventory // 36-44 = Hot bar - char m_RightMouse; // 0 = left 1 = Right mb - short m_NumClicks; // Num clicks - bool m_Bool; // unkown???????????? SHIFT clicked + char m_RightMouse; // 0 = Left 1 = Right mb + short m_NumClicks; // Num clicks + bool m_Bool; // Shift pressed when clicked? // Below = item short m_ItemID; // if this is -1 the next stuff dont exist @@ -43,8 +43,6 @@ public: short m_ItemUses; short m_EnchantNums; - - static const unsigned int c_Size = 1 + 1 + 2 + 1 + 2 + 2; // Minimal size ( +1+1 = max) }; -- cgit v1.2.3