From c1dc50109d7f3883a897b4cf4538e2158268fe9e Mon Sep 17 00:00:00 2001 From: Antoine Cellerier Date: Sat, 16 Jun 2007 23:19:49 +0000 Subject: Ahem ... fix compilation. I also forgot to mention that puzzle images don't look good atm so if anyone wants to draw nice ones ... feel free to do so. git-svn-id: svn://svn.rockbox.org/rockbox/trunk@13645 a1c6a512-1295-4272-9138-f99709370657 --- apps/plugins/jewels.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'apps') diff --git a/apps/plugins/jewels.c b/apps/plugins/jewels.c index 20fb60c808..f91ea384c4 100644 --- a/apps/plugins/jewels.c +++ b/apps/plugins/jewels.c @@ -1144,7 +1144,7 @@ static unsigned int jewels_initlevel(struct game_context* bj) { for(i=0; iplayboard[i][j].type = (rand()%bj->num_jewels)+1; + bj->playboard[i][j].type = (rb->rand()%bj->num_jewels)+1; bj->playboard[i][j].falling = false; bj->playboard[i][j].delete = false; } -- cgit v1.2.3