summaryrefslogtreecommitdiffstats
path: root/source/packets
diff options
context:
space:
mode:
authormadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-10 21:01:36 +0200
committermadmaxoft@gmail.com <madmaxoft@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2012-08-10 21:01:36 +0200
commit6711fcd6360a4a0a5efba95d51b1fd1cb456471c (patch)
treeb2be4dcafd474b5259e8db12daeb6339f1101975 /source/packets
parentTorch placement handling (contributed by l0udPL) (diff)
downloadcuberite-6711fcd6360a4a0a5efba95d51b1fd1cb456471c.tar
cuberite-6711fcd6360a4a0a5efba95d51b1fd1cb456471c.tar.gz
cuberite-6711fcd6360a4a0a5efba95d51b1fd1cb456471c.tar.bz2
cuberite-6711fcd6360a4a0a5efba95d51b1fd1cb456471c.tar.lz
cuberite-6711fcd6360a4a0a5efba95d51b1fd1cb456471c.tar.xz
cuberite-6711fcd6360a4a0a5efba95d51b1fd1cb456471c.tar.zst
cuberite-6711fcd6360a4a0a5efba95d51b1fd1cb456471c.zip
Diffstat (limited to 'source/packets')
-rw-r--r--source/packets/cPacket_WindowClick.h8
1 files changed, 3 insertions, 5 deletions
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)
};