Add backward compatibility for new client on old servers

This commit is contained in:
Fabio Bas 2015-05-15 18:18:25 +02:00
parent 5dfef6215c
commit 2299fa1ac4

View file

@ -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)