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
|
|
@ -9,7 +9,7 @@
|
|||
#include "pb/server_message.pb.h"
|
||||
#include "pb/event_server_identification.pb.h"
|
||||
|
||||
static const unsigned int protocolVersion = 14;
|
||||
static const unsigned int protocolVersion = 13;
|
||||
|
||||
RemoteClient::RemoteClient(QObject *parent)
|
||||
: AbstractClient(parent), timeRunning(0), lastDataReceived(0), messageInProgress(false), handshakeStarted(false), messageLength(0)
|
||||
|
|
@ -50,6 +50,7 @@ void RemoteClient::slotConnected()
|
|||
|
||||
// dirty hack to be compatible with v14 server
|
||||
sendCommandContainer(CommandContainer());
|
||||
getNewCmdId();
|
||||
// end of hack
|
||||
|
||||
setStatus(StatusAwaitingWelcome);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue