mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-04-27 07:48:01 -07:00
power and toughness values displayed after card flip (#3120)
This commit is contained in:
parent
66958b5975
commit
281e52eaa9
3 changed files with 10 additions and 0 deletions
|
|
@ -2205,6 +2205,11 @@ void Player::cardMenuAction()
|
|||
cmd->set_zone(card->getZone()->getName().toStdString());
|
||||
cmd->set_card_id(card->getId());
|
||||
cmd->set_face_down(!card->getFaceDown());
|
||||
if (card->getFaceDown()) {
|
||||
CardInfoPtr ci = card->getInfo();
|
||||
if (ci)
|
||||
cmd->set_pt(ci->getPowTough().toStdString());
|
||||
}
|
||||
commandList.append(cmd);
|
||||
break;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue