summaryrefslogtreecommitdiff
path: root/src/network/core/tcp_game.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-08-18 22:40:17 +0000
committerrubidium <rubidium@openttd.org>2010-08-18 22:40:17 +0000
commitb594990071fd6cff1c530c2fb4139c9aaaba6e08 (patch)
tree01563bf17bc91735880f25f66f91732cd5171f22 /src/network/core/tcp_game.h
parente8e22c99fd5cfccf6087632b46664fbd02f7900c (diff)
downloadopenttd-b594990071fd6cff1c530c2fb4139c9aaaba6e08.tar.xz
(svn r20549) -Codechange: centralise the handling of the incoming commands (from clients and the server)
Diffstat (limited to 'src/network/core/tcp_game.h')
-rw-r--r--src/network/core/tcp_game.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/core/tcp_game.h b/src/network/core/tcp_game.h
index f150a5f08..a7d3bb462 100644
--- a/src/network/core/tcp_game.h
+++ b/src/network/core/tcp_game.h
@@ -122,6 +122,7 @@ public:
ClientStatus status; ///< Status of this client
+ CommandQueue incoming_queue; ///< The command-queue awaiting handling
CommandQueue outgoing_queue; ///< The command-queue awaiting delivery
NetworkRecvStatus CloseConnection(bool error = true);