mirror of
https://github.com/blupi-games/planetblupi
synced 2024-12-30 10:15:36 +01:00
parent
eb1a1da420
commit
e3d9377c42
@ -644,8 +644,15 @@ 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;
|
||||
table_statistic[STATBLUPI].nb + rm;
|
||||
}
|
||||
|
||||
// Retourne le nombre de cellules en feu.
|
||||
|
Loading…
x
Reference in New Issue
Block a user