diff options
Diffstat (limited to '')
-rw-r--r-- | source/packets/cPacket_Player.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/packets/cPacket_Player.h b/source/packets/cPacket_Player.h index d9f7c0057..af2dbcc34 100644 --- a/source/packets/cPacket_Player.h +++ b/source/packets/cPacket_Player.h @@ -109,8 +109,8 @@ public: m_PacketID = E_PLAYERMOVELOOK; } - cPacket_PlayerMoveLook( cPlayer* a_Player ); - virtual cPacket* Clone() const { return new cPacket_PlayerMoveLook(*this); } + cPacket_PlayerMoveLook(const cPlayer & a_Player); + virtual cPacket * Clone() const { return new cPacket_PlayerMoveLook(*this); } virtual int Parse(cByteBuffer & a_Buffer) override; virtual void Serialize(AString & a_Data) const override; |