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