summaryrefslogtreecommitdiff
path: root/src/network/core/tcp_game.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2010-12-07 21:12:23 +0000
committerrubidium <rubidium@openttd.org>2010-12-07 21:12:23 +0000
commit0c23b0b3a400457754b2429e56c3e9a9dbaad1a4 (patch)
treeef78e52d9f35b1769722fccb591fd21b564dbc2e /src/network/core/tcp_game.h
parent49162ab39b7c2bb473fccaa7b693b226033fd584 (diff)
downloadopenttd-0c23b0b3a400457754b2429e56c3e9a9dbaad1a4.tar.xz
(svn r21429) -Fix [FS#3771]: the server didn't check for the paused state when allowing to execute commands
Diffstat (limited to 'src/network/core/tcp_game.h')
-rw-r--r--src/network/core/tcp_game.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/core/tcp_game.h b/src/network/core/tcp_game.h
index 40ffdb1d4..fc15e7ba8 100644
--- a/src/network/core/tcp_game.h
+++ b/src/network/core/tcp_game.h
@@ -141,8 +141,8 @@ public:
/** Clear the command queue. */
~CommandQueue() { this->Free(); }
void Append(CommandPacket *p);
- CommandPacket *Pop();
- CommandPacket *Peek();
+ CommandPacket *Pop(bool ignore_paused = false);
+ CommandPacket *Peek(bool ignore_paused = false);
void Free();
/** Get the number of items in the queue. */
uint Count() const { return this->count; }