--- a/QTfrontend/hwform.cpp Sat Jan 12 17:17:09 2008 +0000
+++ b/QTfrontend/hwform.cpp Sat Jan 12 22:41:03 2008 +0000
@@ -144,7 +144,7 @@
void HWForm::NetWeaponNameChanged(const QString& name)
{
QString ammo=ui.pageSelectWeapon->pWeapons->getWeaponsString(ui.pageNetGame->pGameCFG->WeaponsName->currentText());
- hwnet->onWeaponsNameChanged(ammo);
+ hwnet->onWeaponsNameChanged(name, ammo);
}
void HWForm::UpdateTeamsLists(const QStringList* editable_teams)
@@ -428,7 +428,7 @@
ui.pageNetGame->pNetTeamsWidget, SLOT(changeHHNum(const HWTeam&)));
connect(hwnet, SIGNAL(teamColorChanged(const HWTeam&)),
ui.pageNetGame->pNetTeamsWidget, SLOT(changeTeamColor(const HWTeam&)));
- connect(hwnet, SIGNAL(ammoChanged(const QString&)), ui.pageNetGame->pGameCFG, SLOT(setNetAmmo(const QString&)));
+ connect(hwnet, SIGNAL(ammoChanged(const QString&, const QString&)), ui.pageNetGame->pGameCFG, SLOT(setNetAmmo(const QString&, const QString&)));
hwnet->Connect(hostName, port, nick);
}