Fixed a bug in deserializePacket()

This commit is contained in:
Kayne Ruse
2014-11-26 07:51:24 +11:00
parent 01461deaa5
commit 584b6ea303
2 changed files with 10 additions and 2 deletions
+1 -1
View File
@@ -95,7 +95,7 @@ void deserializePacket(void* buffer, SerialPacketBase* packet) {
SerialPacketType type;
memcpy(&type, buffer, sizeof(SerialPacketType));
switch(packet->type) {
switch(type) {
case SerialPacketType::PING:
case SerialPacketType::PONG:
case SerialPacketType::BROADCAST_REQUEST: