1
0
Fork 0
forked from len0rd/rockbox

Fix a bug concerning difficulty, pointed out by DerPapst in IRC.

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13592 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Paul Louden 2007-06-07 22:04:27 +00:00
parent a1c73f20b3
commit 4f711da546

View file

@ -785,7 +785,7 @@ static inline void move_board (void)
player.i = newi;
player.j = newj;
}
if (percentage_cache > difficulty) { /* finished level */
if (percentage_cache >= difficulty) { /* finished level */
rb->splash (HZ * 2, "Level %d finished", player.level+1);
player.score += percentage_cache;
if (player.level < MAX_LEVEL)