controller change bug fix

This commit is contained in:
Max-Wilhelm Bruker 2011-01-26 13:44:02 +01:00
parent b702a12428
commit 25de242180
2 changed files with 3 additions and 3 deletions

View file

@ -330,8 +330,8 @@ ResponseCode Server_Player::moveCard(CommandContainer *cont, Server_CardZone *st
publicCardName = card->getName();
int oldCardId = card->getId();
if (faceDown)
card->setId(newCardId());
if (faceDown || (targetzone->getPlayer() != startzone->getPlayer()))
card->setId(targetzone->getPlayer()->newCardId());
card->setFaceDown(faceDown);
// The player does not get to see which card he moved if it moves between two parts of hidden zones which

View file

@ -225,4 +225,4 @@ void Servatrice::statusUpdate()
execSqlQuery(query);
}
const QString Servatrice::versionString = "Servatrice 0.20110124";
const QString Servatrice::versionString = "Servatrice 0.20110126";