Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Donald Haase
Cockatrice
Commits
ec73ffc8
Commit
ec73ffc8
authored
Jul 12, 2009
by
Max-Wilhelm Bruker
Browse files
flip bugfix
parent
3043157a
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/game.cpp
View file @
ec73ffc8
...
...
@@ -372,7 +372,7 @@ void Game::actFlip()
while
(
i
.
hasNext
())
{
CardItem
*
temp
=
(
CardItem
*
)
i
.
next
();
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
());
}
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment