diff options
| author | Paul Louden <paulthenerd@gmail.com> | 2007-06-07 22:04:27 +0000 |
|---|---|---|
| committer | Paul Louden <paulthenerd@gmail.com> | 2007-06-07 22:04:27 +0000 |
| commit | 4f711da546ce74a86cfb6bdb6fb5205f4d7c45cb (patch) | |
| tree | 8ec075bac15ff069a8df105e52940d9393b1cb3d | |
| parent | a1c73f20b334e10ab71da17bfa3b7f3e534df969 (diff) | |
| download | rockbox-4f711da546ce74a86cfb6bdb6fb5205f4d7c45cb.zip rockbox-4f711da546ce74a86cfb6bdb6fb5205f4d7c45cb.tar.gz rockbox-4f711da546ce74a86cfb6bdb6fb5205f4d7c45cb.tar.bz2 rockbox-4f711da546ce74a86cfb6bdb6fb5205f4d7c45cb.tar.xz | |
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
| -rw-r--r-- | apps/plugins/xobox.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c index 0a8b5b1..33ef4d0 100644 --- a/apps/plugins/xobox.c +++ b/apps/plugins/xobox.c @@ -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) |