From 674fe1e955f729e8328772313c45fe76857ec835 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sun, 19 Aug 2012 21:14:45 +0000 Subject: Window, Chest, Furnace and Pawn are not using cPackets at all git-svn-id: http://mc-server.googlecode.com/svn/trunk@762 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/packets/cPacket_InventoryProgressBar.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'source/packets') diff --git a/source/packets/cPacket_InventoryProgressBar.h b/source/packets/cPacket_InventoryProgressBar.h index 0aa2fd3a8..b78205efa 100644 --- a/source/packets/cPacket_InventoryProgressBar.h +++ b/source/packets/cPacket_InventoryProgressBar.h @@ -14,16 +14,17 @@ public: : m_WindowID( 0 ) , m_ProgressBar( 0 ) , m_Value( 0 ) - { m_PacketID = E_INVENTORY_PROGRESS; } - virtual cPacket* Clone() const { return new cPacket_InventoryProgressBar(*this); } + { + m_PacketID = E_INVENTORY_PROGRESS; + } + + virtual cPacket * Clone() const { return new cPacket_InventoryProgressBar(*this); } virtual void Serialize(AString & a_Data) const override; - char m_WindowID; + char m_WindowID; short m_ProgressBar; short m_Value; - - static const unsigned int c_Size = 1 + 1 + 2 + 2; }; -- cgit v1.2.3