summaryrefslogtreecommitdiff
path: root/apps/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins')
-rw-r--r--apps/plugins/sokoban.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/apps/plugins/sokoban.c b/apps/plugins/sokoban.c
index a9ac711..d6777c2 100644
--- a/apps/plugins/sokoban.c
+++ b/apps/plugins/sokoban.c
@@ -1272,6 +1272,7 @@ static bool sokoban_loop(void)
break;
#endif
+#ifdef SOKOBAN_LEVEL_UP
case SOKOBAN_LEVEL_UP:
case SOKOBAN_LEVEL_UP | BUTTON_REPEAT:
/* next level */
@@ -1281,7 +1282,9 @@ static bool sokoban_loop(void)
draw_level();
break;
+#endif
+#ifdef SOKOBAN_LEVEL_DOWN
case SOKOBAN_LEVEL_DOWN:
case SOKOBAN_LEVEL_DOWN | BUTTON_REPEAT:
/* previous level */
@@ -1291,6 +1294,7 @@ static bool sokoban_loop(void)
draw_level();
break;
+#endif
#ifdef SOKOBAN_LEVEL_REPEAT
case SOKOBAN_LEVEL_REPEAT: