diff options
author | Antoine Cellerier <dionoea@videolan.org> | 2007-06-16 23:19:49 +0000 |
---|---|---|
committer | Antoine Cellerier <dionoea@videolan.org> | 2007-06-16 23:19:49 +0000 |
commit | c1dc50109d7f3883a897b4cf4538e2158268fe9e (patch) | |
tree | 45e7bd8efa9b60d5144cef8d320344270cc8ea52 /apps/plugins | |
parent | bbb9da3f8ce19421e7fe9f12e7401f7d84989cc0 (diff) | |
download | rockbox-c1dc50109d7f3883a897b4cf4538e2158268fe9e.tar.gz rockbox-c1dc50109d7f3883a897b4cf4538e2158268fe9e.zip |
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
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/jewels.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) { | |||
1144 | 1144 | ||
1145 | for(i=0; i<BJ_HEIGHT; i++) { | 1145 | for(i=0; i<BJ_HEIGHT; i++) { |
1146 | for(j=0; j<BJ_WIDTH; j++) { | 1146 | for(j=0; j<BJ_WIDTH; j++) { |
1147 | bj->playboard[i][j].type = (rand()%bj->num_jewels)+1; | 1147 | bj->playboard[i][j].type = (rb->rand()%bj->num_jewels)+1; |
1148 | bj->playboard[i][j].falling = false; | 1148 | bj->playboard[i][j].falling = false; |
1149 | bj->playboard[i][j].delete = false; | 1149 | bj->playboard[i][j].delete = false; |
1150 | } | 1150 | } |