QTfrontend/hedgehogerWidget.cpp
changeset 1784 dfe9bafb4590
parent 1300 22c03f69e142
child 3871 c91aefe1dca2
--- a/QTfrontend/hedgehogerWidget.cpp	Sat Jan 31 15:44:07 2009 +0000
+++ b/QTfrontend/hedgehogerWidget.cpp	Sun Feb 01 15:58:44 2009 +0000
@@ -34,7 +34,7 @@
 
 void CHedgehogerWidget::incItems()
 {
-  if (pOurFrameTeams->overallHedgehogs < 18) {
+  if (pOurFrameTeams->overallHedgehogs < pOurFrameTeams->maxHedgehogsPerGame) {
     numItems++;
     pOurFrameTeams->overallHedgehogs++;
     emit hedgehogsNumChanged();