enigma-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Enigma-cvs] enigma/src game.cc,1.48,1.49


From: Ralf Westram <address@hidden>
Subject: [Enigma-cvs] enigma/src game.cc,1.48,1.49
Date: Mon, 20 Oct 2003 18:29:54 +0000

Update of /cvsroot/enigma/enigma/src
In directory subversions:/tmp/cvs-serv24608/src

Modified Files:
        game.cc 
Log Message:
- CountSolvedLevels respects current difficulty level



Index: game.cc
===================================================================
RCS file: /cvsroot/enigma/enigma/src/game.cc,v
retrieving revision 1.48
retrieving revision 1.49
diff -C2 -d -r1.48 -r1.49
*** game.cc     20 Oct 2003 17:08:39 -0000      1.48
--- game.cc     20 Oct 2003 18:29:51 -0000      1.49
***************
*** 896,902 ****
      for (unsigned i=0; i<lp->size(); ++i)
      {
!       if (options::LevelStatus *ls = GetStatus(lp, i))
!           if (ls->finished)
!               ++cnt;
      }
      return cnt;
--- 896,902 ----
      for (unsigned i=0; i<lp->size(); ++i)
      {
!         if (options::LevelStatus *ls = GetStatus(lp, i))
!             if (ls->finished >= options::Difficulty)
!                 ++cnt;
      }
      return cnt;





reply via email to

[Prev in Thread] Current Thread [Next in Thread]