equal
deleted
inserted
replaced
127 team1.teamColor = *color1; |
127 team1.teamColor = *color1; |
128 team1.numHedgehogs = 1; |
128 team1.numHedgehogs = 1; |
129 HWProto::addStringListToBuffer(teamscfg, |
129 HWProto::addStringListToBuffer(teamscfg, |
130 team1.TeamGameConfig(100)); |
130 team1.TeamGameConfig(100)); |
131 |
131 |
132 QFile file(datadir->absolutePath() + "/Trainings/002_Bazooka.txt"); |
132 QFile file(datadir->absolutePath() + "/Trainings/001_Shotgun.txt"); |
133 if(!file.open(QFile::ReadOnly)) |
133 if(!file.open(QFile::ReadOnly)) |
134 { |
134 { |
135 emit ErrorMessage(tr("Error reading training config file")); |
135 emit ErrorMessage(tr("Error reading training config file")); |
136 return; |
136 return; |
137 } |
137 } |