--- a/QTfrontend/team.cpp Mon Jan 08 18:21:40 2007 +0000
+++ b/QTfrontend/team.cpp Mon Jan 08 20:51:22 2007 +0000
@@ -188,7 +188,7 @@
}
}
-QStringList HWTeam::TeamGameConfig(quint32 color, int hedgehogs) const
+QStringList HWTeam::TeamGameConfig(quint32 color, int hedgehogs, quint32 InitHealth) const
{
QStringList sl;
sl.push_back("eaddteam");
@@ -203,8 +203,9 @@
sl.push_back(QString("ebind " + binds[i].strbind + " " + binds[i].action));
}
for (int t = 0; t < hedgehogs; t++)
- sl.push_back(QString("eadd hh%1 %2")
- .arg(QString::number(t), QString::number(difficulty)));
+ sl.push_back(QString("eaddhh %1 %2")
+ .arg(QString::number(difficulty),
+ QString::number(InitHealth)));
return sl;
}