fixed level 11 again, and moving between levels bug

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@1187 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Eric Linenberg 2002-06-25 14:43:16 +00:00
parent 593605f8ee
commit 1d1c9597c4

View file

@ -195,7 +195,7 @@ static const char levels[][320] = {
"00000000000000000000"
"00000000000000000000"
"00000000000000000000",
/* level 10 */
"00000000000000000000"
"00000000000000000000"
"00000000000000000000"
@ -217,6 +217,7 @@ static const char levels[][320] = {
"00000000000000000000"
"00000000000000000000"
"00000000000000000000"
"00000000000000000000"
"00000022222222000000"
"00000021121112000000"
"00000021433412000000"
@ -1010,6 +1011,9 @@ void sokoban_loop(void) {
load_level(current_level);
moves=0;
idle=true;
load_level(current_level);
lcd_clear_display();
update_screen();
break;
case BUTTON_F1:
@ -1019,6 +1023,9 @@ void sokoban_loop(void) {
load_level(current_level);
moves=0;
idle=true;
load_level(current_level);
lcd_clear_display();
update_screen();
break;
case BUTTON_LEFT: