Preparing "allow spectators" flag in network protocol (#215).

This commit is contained in:
lotodore
2013-10-27 00:41:13 +02:00
parent 11a45cd6d6
commit 6992c732af
8 changed files with 160 additions and 9 deletions
+2 -1
View File
@@ -1144,7 +1144,8 @@ ServerGame::CheckSettings(const GameData &data, const string &password, ServerMo
|| (data.raiseIntervalMode != RAISE_ON_HANDNUMBER)
|| (data.raiseMode != DOUBLE_BLINDS)
|| (data.raiseSmallBlindEveryHandsValue != RANKING_GAME_RAISE_EVERY_HAND)
|| (!password.empty())) {
|| (!password.empty())
|| (!data.allowSpectators)) {
retVal = false;
}
}