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
2299fa1a
Commit
2299fa1a
authored
May 15, 2015
by
Fabio Bas
Browse files
Add backward compatibility for new client on old servers
parent
5dfef621
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/player.cpp
View file @
2299fa1a
...
...
@@ -527,6 +527,8 @@ void Player::playerListActionTriggered()
if
(
ok
)
{
cmd
.
set_zone_name
(
"deck"
);
cmd
.
set_top_cards
(
number
);
// backward compatibility: servers before #1051 only permits to reveal the first card
cmd
.
set_card_id
(
0
);
}
}
else
if
(
menu
==
mRevealHand
)
...
...
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