mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-11 08:34:52 -07:00
flip bugfix
This commit is contained in:
parent
3043157a1d
commit
ec73ffc82b
1 changed files with 1 additions and 1 deletions
|
|
@ -372,7 +372,7 @@ void Game::actFlip()
|
||||||
while (i.hasNext()) {
|
while (i.hasNext()) {
|
||||||
CardItem *temp = (CardItem *) i.next();
|
CardItem *temp = (CardItem *) i.next();
|
||||||
QString zone = qgraphicsitem_cast<CardZone *>(temp->parentItem())->getName();
|
QString zone = qgraphicsitem_cast<CardZone *>(temp->parentItem())->getName();
|
||||||
client->moveCard(temp->getId(), zone, zone, temp->pos().x(), temp->pos().y(), !temp->getFaceDown());
|
client->moveCard(temp->getId(), zone, zone, temp->getGridPoint().x(), temp->getGridPoint().y(), !temp->getFaceDown());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue