mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
minor fix wrt issue #42
This commit is contained in:
parent
b9087715bf
commit
295cc65dce
4 changed files with 6 additions and 4 deletions
|
|
@ -119,7 +119,7 @@ void AbstractClient::sendCommand(PendingCommand *pend)
|
|||
void AbstractClient::queuePendingCommand(PendingCommand *pend)
|
||||
{
|
||||
// This function is always called from the client thread via signal/slot.
|
||||
const int cmdId = nextCmdId++;
|
||||
const int cmdId = getNewCmdId();
|
||||
pend->getCommandContainer().set_cmd_id(cmdId);
|
||||
|
||||
pendingCommands.insert(cmdId, pend);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue