Rev 1162 | Rev 1217 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 1162 | Rev 1163 | ||
---|---|---|---|
Line 443... | Line 443... | ||
443 | mCarbonGain.clear(); |
443 | mCarbonGain.clear(); |
444 | 444 | ||
445 | if (mSaplingTrees.count() > mLiving*1.3) |
445 | if (mSaplingTrees.count() > mLiving*1.3) |
446 | cleanupStorage(); |
446 | cleanupStorage(); |
447 | 447 | ||
448 | mRUS->statistics().add(this); |
- | |
- | 448 | // mRUS->statistics().add(this);
|
|
449 | GlobalSettings::instance()->systemStatistics()->saplingCount+=mLiving; |
449 | GlobalSettings::instance()->systemStatistics()->saplingCount+=mLiving; |
450 | GlobalSettings::instance()->systemStatistics()->newSaplings+=mAdded; |
450 | GlobalSettings::instance()->systemStatistics()->newSaplings+=mAdded; |
451 | mAdded = 0; // reset |
451 | mAdded = 0; // reset |
452 | 452 | ||
453 | //qDebug() << ru->index() << species->id()<< ": (living/avg.height):" << mLiving << mAvgHeight;
|
453 | //qDebug() << ru->index() << species->id()<< ": (living/avg.height):" << mLiving << mAvgHeight;
|