don't send useless information in getGameState; fixed bug that caused an attached card to have undefined coordinates when its parent card was destroyed by conceding or leaving

This commit is contained in:
Max-Wilhelm Bruker 2012-01-30 00:21:47 +01:00
parent eb06d6b4ea
commit 5692addf54
4 changed files with 45 additions and 14 deletions

View file

@ -108,7 +108,7 @@ void RemoteClient::readData()
ServerMessage newServerMessage;
newServerMessage.ParseFromArray(inputBuffer.data(), messageLength);
qDebug((QString::number(messageLength) + ": " + QString::fromStdString(newServerMessage.ShortDebugString())).toUtf8());
qDebug((QString::number(messageLength) + ": " + QString::fromStdString(newServerMessage.DebugString())).toUtf8());
inputBuffer.remove(0, messageLength);
messageInProgress = false;