QTfrontend/game.cpp
changeset 3162 663e0e55e5c7
parent 3160 f2a3d861b23a
child 3236 4ab3917d7d44
equal deleted inserted replaced
3161:cb5f04cc9d76 3162:663e0e55e5c7
   122     team2->difficulty = 4;
   122     team2->difficulty = 4;
   123     team2->teamColor = *color2;
   123     team2->teamColor = *color2;
   124     team2->numHedgehogs = 4;
   124     team2->numHedgehogs = 4;
   125 	do
   125 	do
   126         namegen.TeamRandomNames(team2,TRUE);
   126         namegen.TeamRandomNames(team2,TRUE);
   127 	while(!team2->TeamName.compare(team1->TeamName));
   127 	while(!team2->TeamName.compare(team1->TeamName) || !team2->HHHat[0].compare(team1->HHHat[0]));
   128     HWProto::addStringListToBuffer(teamscfg,
   128     HWProto::addStringListToBuffer(teamscfg,
   129             team2->TeamGameConfig(100));
   129             team2->TeamGameConfig(100));
   130 
   130 
   131     HWProto::addStringToBuffer(teamscfg, "eammstore " + *cDefaultAmmoStore);
   131     HWProto::addStringToBuffer(teamscfg, "eammstore " + *cDefaultAmmoStore);
   132     HWProto::addStringToBuffer(teamscfg, "eammstore " + *cDefaultAmmoStore);
   132     HWProto::addStringToBuffer(teamscfg, "eammstore " + *cDefaultAmmoStore);