[planetblupi] 10/13: Fix mission stripped paving stones goal when there are less or more than 4 blupi

Didier Raboud odyx at moszumanska.debian.org
Tue Feb 6 19:50:11 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 61a1ab65ebe5fa609899deffa05903d74e8ec6c0
Author: Mathieu Schroeter <mathieu at schroetersa.ch>
Date:   Mon Feb 5 23:20:19 2018 +0100

    Fix mission stripped paving stones goal when there are less or more than 4 blupi
    
    The minimal number of blupi must be used instead of 4.
    
    - It fixes issue #51.
---
 src/decblupi.cxx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/decblupi.cxx b/src/decblupi.cxx
index db33cfb..d5261b8 100644
--- a/src/decblupi.cxx
+++ b/src/decblupi.cxx
@@ -4623,7 +4623,7 @@ CDecor::IsTerminated ()
       m_pSound->PlayImage (SOUND_GOAL, pos);
     m_winLastHachBlupi = m_nbStatHachBlupi;
 
-    if (m_nbStatHachBlupi < m_nbStatHach * 4)
+    if (m_nbStatHachBlupi < m_nbStatHach * m_term.nbMinBlupi)
       return 0; // continue;
   }
 

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