[planetblupi] 10/15: Fix properly issue #53 by updating the stats

Didier Raboud odyx at moszumanska.debian.org
Thu Mar 15 07:59:41 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 cddc7de326834f6714236119ca32afc927e3796b
Author: Mathieu Schroeter <mathieu at schroetersa.ch>
Date:   Mon Feb 19 18:05:47 2018 +0100

    Fix properly issue #53 by updating the stats
---
 src/decstat.cxx | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

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

-- 
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