Version: 1.6 (using KDE 3.4.0-1.1.kde, Fedora Core release 3 (Heidelberg)) Compiler: gcc version 3.4.3 20050104 (Red Hat 3.4.3-12) OS: Linux (i686) release 2.6.9-1.667 1) I set "Expert" level game 2) Start new game 3) After the game I see the results (win or loss) in "Beginner" statistics
Was the setting of the game as playing competitively or Casually?
The bug appear in both cases
Ok, I have confirmed this bug and will fix it. I will just have to wait until my checked out copy of the 3.4 branch is compiled.
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 uint instead of bool. This was a rather embarrasing cut & paste bug. BUGS: 102297 M +7 -1 ChangeLog 1.53.2.1 M +1 -1 kreversi.h 1.20.2.1 --- kdegames/kreversi/ChangeLog #1.53:1.53.2.1 @@ -1,3 +1,9 @@ -2005-02-18 Inge Wallin <ingwa@dhcp-254-182.lkpg.cendio.se> +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): uint instead of bool + +2005-02-18 Inge Wallin <inge@lysator.liu.se> * version.h (KREVERSI_VERSION): Bumped version to 1.6 --- kdegames/kreversi/kreversi.h #1.20:1.20.2.1 @@ -179,5 +179,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.