QTfrontend/game.cpp
changeset 2428 6800f8aa0184
parent 2405 3b8607ac32c6
child 2443 fececcbc2189
equal deleted inserted replaced
2427:241e3bb6a146 2428:6800f8aa0184
   139 	team1.teamColor = *color1;
   139 	team1.teamColor = *color1;
   140 	team1.numHedgehogs = 1;
   140 	team1.numHedgehogs = 1;
   141 	HWProto::addStringListToBuffer(traincfg,
   141 	HWProto::addStringListToBuffer(traincfg,
   142 			team1.TeamGameConfig(100));
   142 			team1.TeamGameConfig(100));
   143 
   143 
   144 	QFile file(datadir->absolutePath() + "/Trainings/001_Shotgun.txt");
   144 	QFile file(datadir->absolutePath() + "/Trainings/003_RCPlane.txt");
   145 	if(!file.open(QFile::ReadOnly))
   145 	if(!file.open(QFile::ReadOnly))
   146 	{
   146 	{
   147 		emit ErrorMessage(tr("Error reading training config file"));
   147 		emit ErrorMessage(tr("Error reading training config file"));
   148 		return;
   148 		return;
   149 	}
   149 	}