From 88270be66928f3b73b73fc1f3b26a74358089223 Mon Sep 17 00:00:00 2001 From: "admin@omencraft.com" Date: Wed, 26 Oct 2011 20:52:19 +0000 Subject: Made several recomended changes. Gamemode is now world based. Need to add it to player. git-svn-id: http://mc-server.googlecode.com/svn/trunk@18 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/packets/cPacket_CreateInventoryAction.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/packets/cPacket_CreateInventoryAction.h') diff --git a/source/packets/cPacket_CreateInventoryAction.h b/source/packets/cPacket_CreateInventoryAction.h index e4ed2d9f8..02af3a64e 100644 --- a/source/packets/cPacket_CreateInventoryAction.h +++ b/source/packets/cPacket_CreateInventoryAction.h @@ -10,8 +10,8 @@ public: : m_Slot( 0 ) , m_ItemID( 0 ) , m_Quantity( 0 ) - , m_Short( 0 ) - { m_PacketID = E_CREATE_INVENTORY_ACTION; m_Short = 0; m_Quantity = 1; } + , m_Damage( 0 ) + { m_PacketID = E_CREATE_INVENTORY_ACTION; m_Quantity = 1; } cPacket_CreateInventoryAction( const cPacket_CreateInventoryAction & a_Copy ); virtual cPacket* Clone() const { return new cPacket_CreateInventoryAction(*this); } @@ -21,7 +21,7 @@ public: short m_Slot; // 0 = hold 1-4 = armor short m_ItemID; short m_Quantity; - short m_Short; + short m_Damage; - static const unsigned int c_Size = 1 + 4 + 2 + 2 + 2; + static const unsigned int c_Size = 1 + 2 + 2 + 2 + 2; }; -- cgit v1.2.3