summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_13.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/packets/cPacket_13.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/packets/cPacket_13.cpp b/source/packets/cPacket_13.cpp
index 4edeb8c95..f31c67704 100644
--- a/source/packets/cPacket_13.cpp
+++ b/source/packets/cPacket_13.cpp
@@ -7,11 +7,11 @@
-int cPacket_13::Parse(const char * a_Data, int a_Size)
+int cPacket_13::Parse(cByteBuffer & a_Buffer)
{
int TotalBytes = 0;
- HANDLE_PACKET_READ(ReadInteger, m_EntityID, TotalBytes);
- HANDLE_PACKET_READ(ReadByte , m_ActionID, TotalBytes);
+ HANDLE_PACKET_READ(ReadBEInt, m_EntityID, TotalBytes);
+ HANDLE_PACKET_READ(ReadChar, m_ActionID, TotalBytes);
return TotalBytes;
}