QTfrontend/selectWeapon.cpp
changeset 2371 a20b6e26044b
parent 2369 c3eb11f1ab3a
child 2377 f3fab2b09e0c
--- a/QTfrontend/selectWeapon.cpp	Thu Sep 10 12:23:02 2009 +0000
+++ b/QTfrontend/selectWeapon.cpp	Thu Sep 10 12:23:31 2009 +0000
@@ -157,7 +157,7 @@
 	
 	for(int i = 0; i < m_numItems; ++i) {
 		twi::const_iterator it = weaponItems.find(i);
-		int num = it == weaponItems.end() ? 0 : it.value()[0]->getItemsNum();
+		int num = it == weaponItems.end() ? 9 : it.value()[0]->getItemsNum(); // 9 is for 'skip turn'
 		state1.append(QString::number(num));
 		int prob = it == weaponItems.end() ? 0 : it.value()[1]->getItemsNum();
 		state2.append(QString::number(prob));