diff options
author | Mattes D <github@xoft.cz> | 2015-01-18 22:43:35 +0100 |
---|---|---|
committer | Mattes D <github@xoft.cz> | 2015-01-18 22:43:35 +0100 |
commit | 5ac3a23586d746eae27fb2375cfd0696d512704b (patch) | |
tree | d1e9bbe8f47732542d755a53d9a363997ecee2f4 /src/ClientHandle.cpp | |
parent | Fixed various warnings. (diff) | |
download | cuberite-5ac3a23586d746eae27fb2375cfd0696d512704b.tar cuberite-5ac3a23586d746eae27fb2375cfd0696d512704b.tar.gz cuberite-5ac3a23586d746eae27fb2375cfd0696d512704b.tar.bz2 cuberite-5ac3a23586d746eae27fb2375cfd0696d512704b.tar.lz cuberite-5ac3a23586d746eae27fb2375cfd0696d512704b.tar.xz cuberite-5ac3a23586d746eae27fb2375cfd0696d512704b.tar.zst cuberite-5ac3a23586d746eae27fb2375cfd0696d512704b.zip |
Diffstat (limited to 'src/ClientHandle.cpp')
-rw-r--r-- | src/ClientHandle.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClientHandle.cpp b/src/ClientHandle.cpp index 6fe6e99fa..387cc4628 100644 --- a/src/ClientHandle.cpp +++ b/src/ClientHandle.cpp @@ -1445,7 +1445,7 @@ void cClientHandle::HandlePlayerMoveLook(double a_PosX, double a_PosY, double a_ -void cClientHandle::HandleAnimation(char a_Animation) +void cClientHandle::HandleAnimation(int a_Animation) { if (cPluginManager::Get()->CallHookPlayerAnimation(*m_Player, a_Animation)) { @@ -2832,7 +2832,7 @@ void cClientHandle::PacketUnknown(UInt32 a_PacketType) -void cClientHandle::PacketError(unsigned char a_PacketType) +void cClientHandle::PacketError(UInt32 a_PacketType) { LOGERROR("Protocol error while parsing packet type 0x%02x; disconnecting client \"%s\"", a_PacketType, m_Username.c_str()); SendDisconnect("Protocol error"); |