--- a/QTfrontend/selectWeapon.cpp Fri Oct 31 20:47:48 2008 +0000
+++ b/QTfrontend/selectWeapon.cpp Fri Oct 31 20:48:09 2008 +0000
@@ -75,11 +75,7 @@
{
wconf = new QSettings(cfgdir->absolutePath() + "/weapons.ini", QSettings::IniFormat, this);
- if(wconf->value("Default", "").toString().size() != cDefaultAmmoStore->size() - 10)
- {
- wconf->clear();
- wconf->setValue("Default", cDefaultAmmoStore->mid(10));
- }
+ wconf->setValue("Default", cDefaultAmmoStore->mid(10));
currentState=cDefaultAmmoStore->mid(10);