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
b702a124
Commit
b702a124
authored
Jan 26, 2011
by
Max-Wilhelm Bruker
Browse files
server fixFreeSpaces fix
parent
dcf54ae2
Changes
1
Hide whitespace changes
Inline
Side-by-side
common/server_cardzone.cpp
View file @
b702a124
...
...
@@ -177,7 +177,7 @@ void Server_CardZone::fixFreeSpaces(CommandContainer *cont)
if
(
!
coordMap
.
contains
(
y
*
10000
+
baseX
))
{
if
(
coordMap
.
contains
(
y
*
10000
+
baseX
+
1
))
moveCard
(
cont
,
coordMap
,
coordMap
.
value
(
y
*
10000
+
baseX
+
1
),
baseX
,
y
);
else
if
(
coordMap
.
contains
(
baseX
+
2
))
{
else
if
(
coordMap
.
contains
(
y
*
10000
+
baseX
+
2
))
{
moveCard
(
cont
,
coordMap
,
coordMap
.
value
(
y
*
10000
+
baseX
+
2
),
baseX
,
y
);
return
;
}
else
...
...
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