QTfrontend/game.cpp
changeset 7218 9ecd5bc9810b
parent 7130 fcab1fd02bc6
child 7221 8d04e85ca204
child 7231 f484455dd055
child 7258 722e8a0d89dc
equal deleted inserted replaced
7216:53f5e48b8375 7218:9ecd5bc9810b
    96         {
    96         {
    97             HWProto::addStringToBuffer(buf, QString("eammloadt %1").arg(ammostr.mid(0, cAmmoNumber)));
    97             HWProto::addStringToBuffer(buf, QString("eammloadt %1").arg(ammostr.mid(0, cAmmoNumber)));
    98             HWProto::addStringToBuffer(buf, QString("eammprob %1").arg(ammostr.mid(cAmmoNumber, cAmmoNumber)));
    98             HWProto::addStringToBuffer(buf, QString("eammprob %1").arg(ammostr.mid(cAmmoNumber, cAmmoNumber)));
    99             HWProto::addStringToBuffer(buf, QString("eammdelay %1").arg(ammostr.mid(2 * cAmmoNumber, cAmmoNumber)));
    99             HWProto::addStringToBuffer(buf, QString("eammdelay %1").arg(ammostr.mid(2 * cAmmoNumber, cAmmoNumber)));
   100             HWProto::addStringToBuffer(buf, QString("eammreinf %1").arg(ammostr.mid(3 * cAmmoNumber, cAmmoNumber)));
   100             HWProto::addStringToBuffer(buf, QString("eammreinf %1").arg(ammostr.mid(3 * cAmmoNumber, cAmmoNumber)));
   101             if(!gamecfg->schemeData(21).toBool()) HWProto::addStringToBuffer(buf, QString("eammstore"));
   101             if(gamecfg->schemeData(15).toBool() || !gamecfg->schemeData(21).toBool()) HWProto::addStringToBuffer(buf, QString("eammstore"));
   102             HWProto::addStringListToBuffer(buf,
   102             HWProto::addStringListToBuffer(buf,
   103                                            team.teamGameConfig(gamecfg->getInitHealth()));
   103                                            team.teamGameConfig(gamecfg->getInitHealth()));
   104             ;
   104             ;
   105         }
   105         }
   106     }
   106     }