QTfrontend/pages.cpp
changeset 2369 c3eb11f1ab3a
parent 2368 e0750b23c9e6
child 2377 f3fab2b09e0c
--- a/QTfrontend/pages.cpp	Thu Sep 10 07:53:22 2009 +0000
+++ b/QTfrontend/pages.cpp	Thu Sep 10 12:16:11 2009 +0000
@@ -745,7 +745,7 @@
 {
 	QGridLayout * pageLayout = new QGridLayout(this);
 	
-	pWeapons = new SelWeaponWidget(cDefaultAmmoStore->size(), this);
+	pWeapons = new SelWeaponWidget(cAmmoNumber, this);
 	pageLayout->addWidget(pWeapons, 0, 0, 1, 4);
 
 	BtnBack = addButton(":/res/Exit.png", pageLayout, 1, 0, true);