summaryrefslogtreecommitdiffstats
path: root/source/packets/cPacket_NewInvalidState.cpp
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--source/packets/cPacket_NewInvalidState.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/packets/cPacket_NewInvalidState.cpp b/source/packets/cPacket_NewInvalidState.cpp
index a243a0e51..3e44a4877 100644
--- a/source/packets/cPacket_NewInvalidState.cpp
+++ b/source/packets/cPacket_NewInvalidState.cpp
@@ -18,11 +18,11 @@ cPacket_NewInvalidState::cPacket_NewInvalidState( const cPacket_NewInvalidState
-int cPacket_NewInvalidState::Parse(const char * a_Data, int a_Size)
+int cPacket_NewInvalidState::Parse(cByteBuffer & a_Buffer)
{
int TotalBytes = 0;
- HANDLE_PACKET_READ(ReadByte, m_Reason, TotalBytes);
- HANDLE_PACKET_READ(ReadByte, m_GameMode, TotalBytes);
+ HANDLE_PACKET_READ(ReadChar, m_Reason, TotalBytes);
+ HANDLE_PACKET_READ(ReadChar, m_GameMode, TotalBytes);
return TotalBytes;
}