fix #884
This commit is contained in:
parent
fb49a8867e
commit
dcc6677e8f
1 changed files with 1 additions and 1 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue