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
02453d35
Commit
02453d35
authored
May 15, 2015
by
poixen
Browse files
Merge pull request #3 from ctrlaltca/pr_1051
Add backward compatibility for new client on old servers
parents
5dfef621
2299fa1a
Changes
1
Hide whitespace changes
Inline
Side-by-side
cockatrice/src/player.cpp
View file @
02453d35
...
...
@@ -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