From 2691e8daed826e944ca38f4787c77273edbf9404 Mon Sep 17 00:00:00 2001 From: "madmaxoft@gmail.com" Date: Sat, 18 Aug 2012 09:56:28 +0000 Subject: Packet refactoring, phase two, partial. Rewritten a few packet handling functions not to use cPacket-descendant objects. This breaks plugin API! Plugins need to modify their hook functions to match those used in the Core plugin git-svn-id: http://mc-server.googlecode.com/svn/trunk@750 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- source/packets/cPacket_Player.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'source/packets/cPacket_Player.h') diff --git a/source/packets/cPacket_Player.h b/source/packets/cPacket_Player.h index 8dadcdaea..05b75d9d1 100644 --- a/source/packets/cPacket_Player.h +++ b/source/packets/cPacket_Player.h @@ -129,9 +129,9 @@ public: cPacket_PlayerPosition() : m_PosX( 0.0 ) , m_PosY( 0.0 ) - , m_Stance( 0.0 ) , m_PosZ( 0.0 ) - , m_bFlying( false ) + , m_Stance( 0.0 ) + , m_IsOnGround(true) { m_PacketID = E_PLAYERPOS; } virtual cPacket* Clone() const { return new cPacket_PlayerPosition(*this); } @@ -140,9 +140,9 @@ public: double m_PosX; double m_PosY; - double m_Stance; double m_PosZ; - bool m_bFlying; // Yeah.. wtf + double m_Stance; + bool m_IsOnGround; } ; -- cgit v1.2.3