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:
parent
bbb9da3f8c
commit
c1dc50109d
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue