From ec73ffc82b5bf8e8e7dde737f228d033f8d6b6d9 Mon Sep 17 00:00:00 2001 From: Max-Wilhelm Bruker Date: Sun, 12 Jul 2009 00:11:45 +0200 Subject: [PATCH] flip bugfix --- cockatrice/src/game.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cockatrice/src/game.cpp b/cockatrice/src/game.cpp index c8f1c004..8a0371bb 100644 --- a/cockatrice/src/game.cpp +++ b/cockatrice/src/game.cpp @@ -372,7 +372,7 @@ void Game::actFlip() while (i.hasNext()) { CardItem *temp = (CardItem *) i.next(); QString zone = qgraphicsitem_cast(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()); } }