QTfrontend/gamecfgwidget.cpp
changeset 1576 a02353129a41
parent 1532 e77b2ed67431
child 1628 4939254196d6
--- a/QTfrontend/gamecfgwidget.cpp	Sat Jan 03 19:01:24 2009 +0000
+++ b/QTfrontend/gamecfgwidget.cpp	Sat Jan 03 19:01:50 2009 +0000
@@ -182,7 +182,7 @@
 
 void GameCFGWidget::setNetAmmo(const QString& name, const QString& ammo)
 {
-	if (ammo.size() != cDefaultAmmoStore->size() - 10)
+	if (ammo.size() != cDefaultAmmoStore->size())
 		QMessageBox::critical(this, tr("Error"), tr("Illegal ammo scheme"));
 
 	int pos = WeaponsName->findText(name);