summaryrefslogtreecommitdiff
path: root/src/network/core/tcp_content.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2013-07-13 06:18:16 +0000
committerrubidium <rubidium@openttd.org>2013-07-13 06:18:16 +0000
commite6ae8cf420b54f71cd5306befa4a48df35de4c63 (patch)
tree3dfd33d9d31dfeb2b5cbac084314ccdb4153ef69 /src/network/core/tcp_content.cpp
parent81ce9ad1897819c94099e3c542bb7f480ba0f57b (diff)
downloadopenttd-e6ae8cf420b54f71cd5306befa4a48df35de4c63.tar.xz
(svn r25593) -Cleanup: remove a few stale #defines
Diffstat (limited to 'src/network/core/tcp_content.cpp')
-rw-r--r--src/network/core/tcp_content.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/network/core/tcp_content.cpp b/src/network/core/tcp_content.cpp
index 164f8de3c..ecef92a4f 100644
--- a/src/network/core/tcp_content.cpp
+++ b/src/network/core/tcp_content.cpp
@@ -153,12 +153,6 @@ void NetworkContentSocketHandler::Close()
}
/**
- * Defines a simple (switch) case for each network packet
- * @param type the packet type to create the case for
- */
-#define CONTENT_COMMAND(type) case type: return this->NetworkPacketReceive_ ## type ## _command(p); break;
-
-/**
* Handle the given packet, i.e. pass it to the right
* parser receive command.
* @param p the packet to handle