diff options
author | mtilden@gmail.com <mtilden@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-27 19:39:06 +0100 |
---|---|---|
committer | mtilden@gmail.com <mtilden@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6> | 2011-12-27 19:39:06 +0100 |
commit | 59af89235bfb9189dec1fcee40a9231d03690d27 (patch) | |
tree | c6eaa3c688d0969d6cf30d6c39d347094771fabd /source/packets/cPacket_KeepAlive.h | |
parent | I think I fixed the memory leaks in the converter (diff) | |
download | cuberite-59af89235bfb9189dec1fcee40a9231d03690d27.tar cuberite-59af89235bfb9189dec1fcee40a9231d03690d27.tar.gz cuberite-59af89235bfb9189dec1fcee40a9231d03690d27.tar.bz2 cuberite-59af89235bfb9189dec1fcee40a9231d03690d27.tar.lz cuberite-59af89235bfb9189dec1fcee40a9231d03690d27.tar.xz cuberite-59af89235bfb9189dec1fcee40a9231d03690d27.tar.zst cuberite-59af89235bfb9189dec1fcee40a9231d03690d27.zip |
Diffstat (limited to 'source/packets/cPacket_KeepAlive.h')
-rw-r--r-- | source/packets/cPacket_KeepAlive.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/packets/cPacket_KeepAlive.h b/source/packets/cPacket_KeepAlive.h index 833947bfb..85bd14083 100644 --- a/source/packets/cPacket_KeepAlive.h +++ b/source/packets/cPacket_KeepAlive.h @@ -7,6 +7,7 @@ class cPacket_KeepAlive : public cPacket {
public:
cPacket_KeepAlive() { m_PacketID = E_KEEP_ALIVE; }
+ cPacket_KeepAlive(int a_PingID) { m_KeepAliveID = a_PingID; }
virtual cPacket* Clone() const { return new cPacket_KeepAlive(*this); }
virtual bool Parse(cSocket & a_Socket);
|