Fixed shoddy packet typing

This commit is contained in:
Kayne Ruse
2014-09-03 00:45:08 +10:00
parent 5536bf366d
commit d50cf5b91e
7 changed files with 18 additions and 18 deletions
+2
View File
@@ -40,6 +40,8 @@ void deserialCopy(void** buffer, void* data, int size) {
*buffer = reinterpret_cast<char*>(*buffer) + size;
}
//DOCS: The server and client MUST use the correct packet types
//main switch functions
void serializePacket(void* buffer, SerialPacketBase* packet) {
switch(packet->type) {