summaryrefslogtreecommitdiffstats
path: root/apps/plugins/reversi/reversi-gui.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/reversi/reversi-gui.c')
-rw-r--r--apps/plugins/reversi/reversi-gui.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/apps/plugins/reversi/reversi-gui.c b/apps/plugins/reversi/reversi-gui.c
index aca54a1ea3..74dd98b676 100644
--- a/apps/plugins/reversi/reversi-gui.c
+++ b/apps/plugins/reversi/reversi-gui.c
@@ -637,12 +637,13 @@ enum plugin_status plugin_start(const void *parameter) {
draw_screen = false;
}
switch(cur_player) {
- case BLACK:
- cur_strategy = black_strategy;
- break;
case WHITE:
cur_strategy = white_strategy;
break;
+ case BLACK:
+ default:
+ cur_strategy = black_strategy;
+ break;
}
if(cur_strategy->is_robot && !game_finished) {