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
6c5dd0b3
Commit
6c5dd0b3
authored
Apr 05, 2011
by
Max-Wilhelm Bruker
Browse files
attach fix
parent
2f98abe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/server_protocolhandler.cpp
View file @
6c5dd0b3
...
...
@@ -747,7 +747,7 @@ ResponseCode Server_ProtocolHandler::cmdAttachCard(Command_AttachCard *cmd, Comm
// Make a copy of the list because its contents change during the loop otherwise.
QList
<
Server_Card
*>
attachedList
=
card
->
getAttachedCards
();
for
(
int
i
=
0
;
i
<
attachedList
.
size
();
++
i
)
p
layer
->
unattachCard
(
cont
,
attachedList
[
i
]);
attachedList
[
i
]
->
getZone
()
->
getP
layer
()
->
unattachCard
(
cont
,
attachedList
[
i
]);
if
(
targetzone
->
isColumnStacked
(
targetCard
->
getX
(),
targetCard
->
getY
()))
{
CardToMove
*
cardToMove
=
new
CardToMove
(
targetCard
->
getId
());
...
...
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