Implemented the serialization switch statement

This commit is contained in:
Kayne Ruse
2014-08-31 15:11:59 +10:00
parent 094efad728
commit 5536bf366d
7 changed files with 71 additions and 27 deletions
+1 -1
View File
@@ -235,7 +235,7 @@ void LobbyMenu::HandleJoinResponse(ClientPacket* const argPacket) {
void LobbyMenu::SendBroadcastRequest() {
//broadcast to the network, or a specific server
SerialPacket packet;
ClientPacket packet;
packet.type = SerialPacketType::BROADCAST_REQUEST;
network.SendTo(config["server.host"].c_str(), config.Int("server.port"), &packet);