--- a/QTfrontend/game.cpp Sun Nov 25 01:13:51 2012 +0400
+++ b/QTfrontend/game.cpp Sun Nov 25 22:17:11 2012 +0400
@@ -104,8 +104,8 @@
HWProto::addStringToBuffer(buf, QString("eammdelay %1").arg(ammostr.mid(2 * cAmmoNumber, cAmmoNumber)));
HWProto::addStringToBuffer(buf, QString("eammreinf %1").arg(ammostr.mid(3 * cAmmoNumber, cAmmoNumber)));
if(gamecfg->schemeData(15).toBool() || !gamecfg->schemeData(21).toBool()) HWProto::addStringToBuffer(buf, QString("eammstore"));
- HWProto::addStringListToBuffer(buf,
- team.teamGameConfig(gamecfg->getInitHealth()));
+// HWProto::addStringListToBuffer(buf,
+// team.teamGameConfig(gamecfg->getInitHealth()));
;
}
}
@@ -133,9 +133,9 @@
team1.setDifficulty(0);
team1.setColor(0);
team1.setNumHedgehogs(4);
- HWNamegen::teamRandomNames(team1,true);
- HWProto::addStringListToBuffer(teamscfg,
- team1.teamGameConfig(100));
+ HWNamegen::teamRandomNames(team1, true);
+// HWProto::addStringListToBuffer(teamscfg,
+// team1.teamGameConfig(100));
HWTeam team2;
team2.setDifficulty(4);
@@ -143,9 +143,9 @@
team2.setNumHedgehogs(4);
do
HWNamegen::teamRandomNames(team2,true);
- while(!team2.name().compare(team1.name()) || !team2.hedgehog(0).Hat.compare(team1.hedgehog(0).Hat));
- HWProto::addStringListToBuffer(teamscfg,
- team2.teamGameConfig(100));
+ while(!team2.name().compare(team1.name()) || !team2.hedgehogHat(0).compare(team1.hedgehogHat(0)));
+// HWProto::addStringListToBuffer(teamscfg,
+// team2.teamGameConfig(100));
HWProto::addStringToBuffer(teamscfg, QString("eammloadt %1").arg(cDefaultAmmoStore->mid(0, cAmmoNumber)));
HWProto::addStringToBuffer(teamscfg, QString("eammprob %1").arg(cDefaultAmmoStore->mid(cAmmoNumber, cAmmoNumber)));