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:
parent
a1c73f20b3
commit
4f711da546
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue