mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
Revert "Do not count blupis that are dying / burning"
This reverts commit e3d9377c424bc188bf97c861fe798fb3a1fa8c13. Bad fix...
This commit is contained in:
parent
e3d9377c42
commit
b0be4e1139
@ -644,15 +644,8 @@ CDecor::StatisticUpdate ()
|
||||
Sint32
|
||||
CDecor::StatisticGetBlupi ()
|
||||
{
|
||||
size_t rm = 0;
|
||||
for (size_t i = 0; i < countof (m_blupi); ++i)
|
||||
rm += (m_blupi[i].bExist && (m_blupi[i].action == ACTION_TCHAO ||
|
||||
m_blupi[i].action == ACTION_BURN))
|
||||
? 1
|
||||
: 0;
|
||||
|
||||
return table_statistic[STATBLUPIf].nb + table_statistic[STATBLUPIm].nb +
|
||||
table_statistic[STATBLUPI].nb + rm;
|
||||
table_statistic[STATBLUPI].nb;
|
||||
}
|
||||
|
||||
// Retourne le nombre de cellules en feu.
|
||||
|
Loading…
x
Reference in New Issue
Block a user