QTfrontend/game.cpp
changeset 172 5294ada3910b
parent 157 8e3e11bb0a5f
child 174 0b2c5b22f644
equal deleted inserted replaced
171:7acf6c70ea5f 172:5294ada3910b
   333 
   333 
   334 void HWGame::StartLocal()
   334 void HWGame::StartLocal()
   335 {
   335 {
   336 	gameType = gtLocal;
   336 	gameType = gtLocal;
   337 	if (TeamCount < 2) return;
   337 	if (TeamCount < 2) return;
   338 	seed = QUuid::createUuid().toString();
   338 	seed = gamecfg->getCurrentSeed();//QUuid::createUuid().toString();
   339 	Start();
   339 	Start();
   340 }
   340 }
   341 
   341 
   342 void HWGame::StartQuick()
   342 void HWGame::StartQuick()
   343 {
   343 {
   344 	gameType = gtQLocal;
   344 	gameType = gtQLocal;
   345 	seed = QUuid::createUuid().toString();
   345 	seed = gamecfg->getCurrentSeed();//QUuid::createUuid().toString();
   346 	Start();
   346 	Start();
   347 }
   347 }
   348 
   348 
   349 
   349 
   350 void HWGame::LocalCFG(const QString & teamname)
   350 void HWGame::LocalCFG(const QString & teamname)