diff options
Diffstat (limited to 'source/packets/cPacket_CreateInventoryAction.h')
-rw-r--r-- | source/packets/cPacket_CreateInventoryAction.h | 8 |
1 files changed, 4 insertions, 4 deletions
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; }; |