diff src/network/core/udp.cpp @ 20642:c1cf2d256f83 draft

(svn r25593) -Cleanup: remove a few stale #defines
author rubidium <rubidium@openttd.org>
date Sat, 13 Jul 2013 06:18:16 +0000
parents 6a84b3a29082
children
line wrap: on
line diff
--- a/src/network/core/udp.cpp
+++ b/src/network/core/udp.cpp
@@ -283,12 +283,6 @@
 }
 
 /**
- * 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