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
This commit is contained in:
Antoine Cellerier 2007-06-16 23:19:49 +00:00
parent bbb9da3f8c
commit c1dc50109d

View file

@ -1144,7 +1144,7 @@ static unsigned int jewels_initlevel(struct game_context* bj) {
for(i=0; i<BJ_HEIGHT; i++) {
for(j=0; j<BJ_WIDTH; j++) {
bj->playboard[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;
}