--- a/QTfrontend/model/ammoSchemeModel.cpp Thu Jan 01 12:41:28 2015 -0500
+++ b/QTfrontend/model/ammoSchemeModel.cpp Fri Jan 02 00:14:49 2015 +0300
@@ -845,18 +845,15 @@
return netScheme[index.column()];
}
-void NetAmmoSchemeModel::setNetSchemeConfig(QStringList & cfg)
+void NetAmmoSchemeModel::setNetSchemeConfig(QStringList cfg)
{
if(cfg.size() != netScheme.size())
{
qWarning("Incorrect scheme cfg size");
return;
}
-
- if (cfg[42].at(0)=='!')
- cfg[42] = cfg[42].mid(1);
- else
- qDebug() << "Script param didn't start with !: " << cfg[42];
+
+ cfg[42] = cfg[42].mid(1);
for(int i = 0; i < cfg.size(); ++i)
netScheme[i] = QVariant(cfg[i]);