diff options
author | rubidium <rubidium@openttd.org> | 2010-12-07 21:12:23 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2010-12-07 21:12:23 +0000 |
commit | 0c23b0b3a400457754b2429e56c3e9a9dbaad1a4 (patch) | |
tree | ef78e52d9f35b1769722fccb591fd21b564dbc2e /src/network/core | |
parent | 49162ab39b7c2bb473fccaa7b693b226033fd584 (diff) | |
download | openttd-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')
-rw-r--r-- | src/network/core/tcp_game.h | 4 |
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; } |