diff options
Diffstat (limited to 'apps/plugins')
-rw-r--r-- | apps/plugins/sokoban.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c index a9ac711b67..d6777c2dff 100644 --- a/apps/plugins/sokoban.c +++ b/apps/plugins/sokoban.c | |||
@@ -1272,6 +1272,7 @@ static bool sokoban_loop(void) | |||
1272 | break; | 1272 | break; |
1273 | #endif | 1273 | #endif |
1274 | 1274 | ||
1275 | #ifdef SOKOBAN_LEVEL_UP | ||
1275 | case SOKOBAN_LEVEL_UP: | 1276 | case SOKOBAN_LEVEL_UP: |
1276 | case SOKOBAN_LEVEL_UP | BUTTON_REPEAT: | 1277 | case SOKOBAN_LEVEL_UP | BUTTON_REPEAT: |
1277 | /* next level */ | 1278 | /* next level */ |
@@ -1281,7 +1282,9 @@ static bool sokoban_loop(void) | |||
1281 | 1282 | ||
1282 | draw_level(); | 1283 | draw_level(); |
1283 | break; | 1284 | break; |
1285 | #endif | ||
1284 | 1286 | ||
1287 | #ifdef SOKOBAN_LEVEL_DOWN | ||
1285 | case SOKOBAN_LEVEL_DOWN: | 1288 | case SOKOBAN_LEVEL_DOWN: |
1286 | case SOKOBAN_LEVEL_DOWN | BUTTON_REPEAT: | 1289 | case SOKOBAN_LEVEL_DOWN | BUTTON_REPEAT: |
1287 | /* previous level */ | 1290 | /* previous level */ |
@@ -1291,6 +1294,7 @@ static bool sokoban_loop(void) | |||
1291 | 1294 | ||
1292 | draw_level(); | 1295 | draw_level(); |
1293 | break; | 1296 | break; |
1297 | #endif | ||
1294 | 1298 | ||
1295 | #ifdef SOKOBAN_LEVEL_REPEAT | 1299 | #ifdef SOKOBAN_LEVEL_REPEAT |
1296 | case SOKOBAN_LEVEL_REPEAT: | 1300 | case SOKOBAN_LEVEL_REPEAT: |