--- a/QTfrontend/hedgehogerWidget.cpp Fri Oct 26 18:55:27 2007 +0000
+++ b/QTfrontend/hedgehogerWidget.cpp Fri Nov 30 18:31:41 2007 +0000
@@ -34,20 +34,18 @@
void CHedgehogerWidget::incItems()
{
- if(numItems < 8 && pOurFrameTeams->overallHedgehogs<18) {
- numItems++;
- pOurFrameTeams->overallHedgehogs++;
- emit hedgehogsNumChanged();
- }
+ if (pOurFrameTeams->overallHedgehogs<18) {
+ numItems++;
+ pOurFrameTeams->overallHedgehogs++;
+ emit hedgehogsNumChanged();
+ }
}
void CHedgehogerWidget::decItems()
{
- if(numItems > 1) {
- numItems--;
- pOurFrameTeams->overallHedgehogs--;
- emit hedgehogsNumChanged();
- }
+ numItems--;
+ pOurFrameTeams->overallHedgehogs--;
+ emit hedgehogsNumChanged();
}
CHedgehogerWidget::~CHedgehogerWidget()