QTfrontend/game.cpp
changeset 622 cedd47d956ec
parent 616 00928b3cf505
child 660 7c155e849602
equal deleted inserted replaced
621:8bdbc240f50f 622:cedd47d956ec
   130 	team1.teamColor = *color1;
   130 	team1.teamColor = *color1;
   131 	team1.numHedgehogs = 1;
   131 	team1.numHedgehogs = 1;
   132 	HWProto::addStringListToBuffer(teamscfg,
   132 	HWProto::addStringListToBuffer(teamscfg,
   133 			team1.TeamGameConfig(100));
   133 			team1.TeamGameConfig(100));
   134 
   134 
   135 	QFile file(datadir->absolutePath() + "/Trainings/001_Shotgun.txt");
   135 	QFile file(datadir->absolutePath() + "/Trainings/002_Bazooka.txt");
   136 	if(!file.open(QFile::ReadOnly))
   136 	if(!file.open(QFile::ReadOnly))
   137 	{
   137 	{
   138 		emit ErrorMessage(tr("Error reading training config file"));
   138 		emit ErrorMessage(tr("Error reading training config file"));
   139 		return;
   139 		return;
   140 	}
   140 	}