QTfrontend/hwform.cpp
changeset 137 bcab861a3262
parent 133 c79cb5e5b24a
child 140 50ccde437ea1
equal deleted inserted replaced
136:89970b70b076 137:bcab861a3262
   255 	ui.pageNetGame->listNetTeams->addItems(teams);
   255 	ui.pageNetGame->listNetTeams->addItems(teams);
   256 }
   256 }
   257 
   257 
   258 void HWForm::StartMPGame()
   258 void HWForm::StartMPGame()
   259 {
   259 {
   260 	game = new HWGame(config, ui.pageLocalGame->gameCFG);
   260 	game = new HWGame(config, ui.pageMultiplayer->gameCFG);
   261 	game->AddTeam("DefaultTeam");
   261 	game->AddTeam("DefaultTeam");
   262 	game->AddTeam("DefaultTeam");
   262 	game->AddTeam("DefaultTeam");
   263 	game->StartLocal();
   263 	game->StartLocal();
   264 }
   264 }