QTfrontend/ui/widget/selectWeapon.cpp
changeset 13859 ccfbc5f59c52
parent 13857 e7c69e849005
child 14841 b9437746bffb
--- a/QTfrontend/ui/widget/selectWeapon.cpp	Fri Oct 05 19:37:06 2018 +0200
+++ b/QTfrontend/ui/widget/selectWeapon.cpp	Fri Oct 05 20:20:09 2018 +0200
@@ -180,7 +180,9 @@
     int i = 0, k = 0;
     for(; i < m_numItems; ++i)
     {
-        if (i == 6) continue;
+        // Hide amSkip (6) and amCreeper (57)
+        // TODO: Unhide amCreeper when this weapon is done
+        if (i == 6 || i == 57) continue;
         if (k % 4 == 0) ++j;
         SelWeaponItem * swi = new SelWeaponItem(true, i, currentState[i].digitValue(), QImage(":/res/ammopic.png"), QImage(":/res/ammopicgrey.png"), this);
         weaponItems[i].append(swi);