From 4f711da546ce74a86cfb6bdb6fb5205f4d7c45cb Mon Sep 17 00:00:00 2001 From: Paul Louden Date: Thu, 7 Jun 2007 22:04:27 +0000 Subject: 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 --- apps/plugins/xobox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps/plugins/xobox.c') diff --git a/apps/plugins/xobox.c b/apps/plugins/xobox.c index 0a8b5b11fd..33ef4d04e9 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) -- cgit v1.2.3