summaryrefslogtreecommitdiff
path: root/src/network/core/udp.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/network/core/udp.cpp')
-rw-r--r--src/network/core/udp.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/network/core/udp.cpp b/src/network/core/udp.cpp
index 4c74af3f6..ff6ecc6d1 100644
--- a/src/network/core/udp.cpp
+++ b/src/network/core/udp.cpp
@@ -283,12 +283,6 @@ void NetworkUDPSocketHandler::ReceiveNetworkGameInfo(Packet *p, NetworkGameInfo
}
/**
- * Defines a simple (switch) case for each network packet
- * @param type the packet type to create the case for
- */
-#define UDP_COMMAND(type) case type: this->NetworkPacketReceive_ ## type ## _command(p, client_addr); break;
-
-/**
* Handle an incoming packets by sending it to the correct function.
* @param p the received packet
* @param client_addr the sender of the packet