[planetblupi] 09/15: Revert "Do not count blupis that are dying / burning"

Didier Raboud odyx at moszumanska.debian.org
Thu Mar 15 07:59:40 UTC 2018


This is an automated email from the git hooks/post-receive script.

odyx pushed a commit to branch debian/master
in repository planetblupi.

commit b0be4e1139749ceec892b9d60f3a60367dad4e50
Author: Mathieu Schroeter <mathieu at schroetersa.ch>
Date:   Mon Feb 19 18:05:27 2018 +0100

    Revert "Do not count blupis that are dying / burning"
    
    This reverts commit e3d9377c424bc188bf97c861fe798fb3a1fa8c13.
    
    Bad fix...
---
 src/decstat.cxx | 9 +--------
 1 file changed, 1 insertion(+), 8 deletions(-)

diff --git a/src/decstat.cxx b/src/decstat.cxx
index 80bb66a..639e362 100644
--- a/src/decstat.cxx
+++ b/src/decstat.cxx
@@ -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.

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/planetblupi.git



More information about the Pkg-games-commits mailing list