(svn r21429) -Fix [FS#3771]: the server didn't check for the paused state when allowing to execute commands

This commit is contained in:
rubidium
2010-12-07 21:12:23 +00:00
parent 434abd6dea
commit b469b1dc51
2 changed files with 21 additions and 7 deletions

View File

@@ -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; }