summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_CreateInventoryAction.h
diff options
context:
space:
mode:
Diffstat (limited to 'source/packets/cPacket_CreateInventoryAction.h')
-rw-r--r--source/packets/cPacket_CreateInventoryAction.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/packets/cPacket_CreateInventoryAction.h b/source/packets/cPacket_CreateInventoryAction.h
index 02af3a64e..083e05446 100644
--- a/source/packets/cPacket_CreateInventoryAction.h
+++ b/source/packets/cPacket_CreateInventoryAction.h
@@ -3,6 +3,8 @@
#include "cPacket.h"
#include "PacketID.h"
+//Sure itīs not Creative Inventory?
+
class cPacket_CreateInventoryAction : public cPacket
{
public:
@@ -20,8 +22,8 @@ public:
short m_Slot; // 0 = hold 1-4 = armor
short m_ItemID;
- short m_Quantity;
+ char m_Quantity; //Byte not short ;)
short m_Damage;
- static const unsigned int c_Size = 1 + 2 + 2 + 2 + 2;
+ static const unsigned int c_Size = 1 + 2;
};