1
0
mirror of https://github.com/blupi-games/planetblupi synced 2024-12-30 10:15:36 +01:00

Fix properly issue #53 by updating the stats

This commit is contained in:
Mathieu Schroeter 2018-02-19 18:05:47 +01:00
parent b0be4e1139
commit cddc7de326

View File

@ -448,7 +448,9 @@ CDecor::StatisticUpdate ()
{
if (m_blupi[rank].bExist)
{
if (m_blupi[rank].perso == 0) // blupi ?
if (
m_blupi[rank].perso == 0 && m_blupi[rank].action != ACTION_TCHAO &&
m_blupi[rank].action != ACTION_BURN) // blupi ?
{
if (m_blupi[rank].bMalade)
table_statistic[STATBLUPIm].nb++;