equal
deleted
inserted
replaced
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 } |