Commit c4f8671a authored by Nicolas Hadacek's avatar Nicolas Hadacek
Browse files

fix a nasty bug (unfortunately it seems too late for 2.2.2 ...)

svn path=/branches/KDE_2_2_BRANCH/kdegames/kmines/; revision=123236
parent b1434499
2.1.0b (19 November 2001)
* fix a nasty bug : uncorrect flag was not shown at game over in certain
cases [thanx for the bug reports from Viira and from an unnamed admin :)]
2.1.0 (17 July 2001) [in CVS]
-- version to be released with KDE 2.2 --
* fixed checked entry in "show highscores" submenu
......
......@@ -122,7 +122,8 @@ void Status::update(bool mine)
QColor color = (r<0 && u!=0 ? red : white);
left->setColor(color);
left->display(r);
if ( u==0 ) _endGame(!mine);
if ( u==0 && !mine ) _endGame(true); // ends game only on wins
}
void Status::_endGame(bool win)
......
#define VERSION "2.1.0"
#define LONG_VERSION "2.1.0 (17 July 2001)"
#define VERSION "2.1.0b"
#define LONG_VERSION "2.1.0b (19 November 2001)"
#define COPYLEFT "(c) 1996-2001, Nicolas Hadacek"
#define EMAIL "hadacek@kde.org"
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment