QTfrontend/game.cpp
changeset 3344 b18a166e6ca4
parent 3236 4ab3917d7d44
child 3346 967fd96f7373
equal deleted inserted replaced
3343:6289df7747c0 3344:b18a166e6ca4
   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) || !team2->HHHat[0].compare(team1->HHHat[0]));
   127 	while(!team2->TeamName.compare(team1->TeamName) || !team2->Hedgehogs[0].Hat.compare(team1->Hedgehogs[0].Hat));
   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);