[colobot] 113/390: Fixed #344

Didier Raboud odyx at moszumanska.debian.org
Fri Jun 12 14:21:35 UTC 2015


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

odyx pushed a commit to branch upstream/latest
in repository colobot.

commit db7ab65354b952d558d29ec902b2e1d22ca55a9a
Author: krzys-h <krzys_h at interia.pl>
Date:   Sat Oct 25 12:10:29 2014 +0200

    Fixed #344
---
 src/ui/maindialog.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/ui/maindialog.cpp b/src/ui/maindialog.cpp
index f5b61c6..f2fc60e 100644
--- a/src/ui/maindialog.cpp
+++ b/src/ui/maindialog.cpp
@@ -6209,7 +6209,7 @@ bool CMainDialog::WriteGamerInfo()
 
     for ( i=0 ; i<MAXSCENE ; i++ )
     {
-        if ( m_sceneInfo[i].numTry == 0 )  continue;
+        if ( m_sceneInfo[i].numTry == 0 && !m_sceneInfo[i].bPassed )  continue;
 
         sprintf(line, "Chapter %d: Scene %d: numTry=%d passed=%d\n",
                 i/100, i%100, m_sceneInfo[i].numTry, m_sceneInfo[i].bPassed);

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



More information about the Pkg-games-commits mailing list