Commit dcc6677e authored by Fabio Bas's avatar Fabio Bas
Browse files

fix #884

parent fb49a886
......@@ -439,7 +439,6 @@ Response::ResponseCode Server_Player::moveCard(GameEventStorage &ges, Server_Car
card->deleteLater();
} else {
card->setFaceDown(faceDown);
if (!targetzone->hasCoords()) {
y = 0;
card->resetState();
......@@ -465,6 +464,7 @@ Response::ResponseCode Server_Player::moveCard(GameEventStorage &ges, Server_Car
int oldCardId = card->getId();
if ((faceDown && (startzone != targetzone)) || (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
// are not being looked at.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment