[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdegames/kreversi
From:       Inge Wallin <inge () lysator ! liu ! se>
Date:       2005-04-01 20:04:01
Message-ID: 20050401200401.2ED9A490 () office ! kde ! org
[Download RAW message or body]

CVS commit by ingwa: 

Fix bug 102297: I am playing in KReversi as "expert" but it saves
statistics to the "beginner" records

 - Let KReversi::m_lowestStrength be an int instead of bool.

This was a rather embarrasing cut & paste bug.

I think there are more bugs here, but they are probably in the
highscore code of libkdegames and not in KReversi.


  M +6 -0      ChangeLog   1.65
  M +1 -1      kreversi.h   1.26


--- kdegames/kreversi/ChangeLog  #1.64:1.65
@@ -1,2 +1,8 @@
+2005-04-01  Inge Wallin  <inge@lysator.liu.se>
+
+        Fix bug 102297: I am playing in KReversi as "expert" but it saves
+        statistics to the "beginner" records
+        * kreversi.h (m_lowestStrength): Should be uint instead of bool.
+
 2005-03-31  Inge Wallin  <inge@lysator.liu.se>
 

--- kdegames/kreversi/kreversi.h  #1.25:1.26
@@ -186,5 +186,5 @@ private:
   bool           m_gameOver;       // True if the game is over
   bool           m_cheating;       // True if the user has changed sides
-  bool           m_lowestStrength; // Lowest strength during the game.
+  uint           m_lowestStrength; // Lowest strength during the game.
   bool           m_competitiveGame;// True if the game has been
                                    // competitive during all moves so far.


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic