check for maxnumberofplayers to start network game

doubleclick on join list item will directly connect
This commit is contained in:
doitux committed 2007-05-23 07:16:28 +00:00
1 parent 2e12f1bc25
commit e8cbac12cc
4 files changed
+38 -1

No files matched your search

+1
View File
@@ -703,6 +703,7 @@ void mainWindowImpl::callCreateNetworkGameDialog() {
myServerGuiInterface->getSession().startNetworkServer(gameData);
mySession->startNetworkClientForLocalServer();
myStartNetworkGameDialog->setMaxPlayerNumber(gameData.numberOfPlayers);
myStartNetworkGameDialog->exec();