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
8e0f7dcf
Commit
8e0f7dcf
authored
Mar 29, 2011
by
Max-Wilhelm Bruker
Browse files
Merge branch 'master' of ../bla
parents
eca94120
2f98abe8
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/server_cardzone.cpp
View file @
8e0f7dcf
...
...
@@ -200,9 +200,9 @@ void Server_CardZone::fixFreeSpaces(CommandContainer *cont)
moveCard
(
cont
,
coordMap
,
coordMap
.
value
(
y
*
10000
+
baseX
+
1
),
baseX
,
y
);
else
if
(
coordMap
.
contains
(
y
*
10000
+
baseX
+
2
))
{
moveCard
(
cont
,
coordMap
,
coordMap
.
value
(
y
*
10000
+
baseX
+
2
),
baseX
,
y
);
return
;
continue
;
}
else
return
;
continue
;
}
if
(
!
coordMap
.
contains
(
y
*
10000
+
baseX
+
1
)
&&
coordMap
.
contains
(
y
*
10000
+
baseX
+
2
))
moveCard
(
cont
,
coordMap
,
coordMap
.
value
(
y
*
10000
+
baseX
+
2
),
baseX
+
1
,
y
);
...
...
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