Added a UI option to always play nonlands onto the stack

Previously this behavior only occured for instants and sorceries

Woops, missed a file

Missed some parentheses
This commit is contained in:
skoh-fley 2013-04-16 20:41:28 -07:00
parent 1accaffb70
commit 2727781c0e
5 changed files with 18 additions and 1 deletions

View file

@ -1513,7 +1513,7 @@ void Player::playCard(CardItem *c, bool faceDown, bool tapped)
cardToMove->set_card_id(c->getId());
CardInfo *ci = c->getInfo();
if (ci->getTableRow() == 3) {
if ((!settingsCache->getPlayToStack() && ci->getTableRow() == 3) || (settingsCache->getPlayToStack() && ci->getTableRow() != 0)) {
cmd.set_target_zone("stack");
cmd.set_x(0);
cmd.set_y(0);