check for maxnumberofplayers to start network game

doubleclick on join list item will directly connect
This commit is contained in:
doitux
2007-05-23 07:16:28 +00:00
parent 2e12f1bc25
commit e8cbac12cc
4 changed files with 38 additions and 1 deletions
+1
View File
@@ -703,6 +703,7 @@ void mainWindowImpl::callCreateNetworkGameDialog() {
myServerGuiInterface->getSession().startNetworkServer(gameData);
mySession->startNetworkClientForLocalServer();
myStartNetworkGameDialog->setMaxPlayerNumber(gameData.numberOfPlayers);
myStartNetworkGameDialog->exec();