summaryrefslogtreecommitdiff
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) {
637 draw_screen = false; 637 draw_screen = false;
638 } 638 }
639 switch(cur_player) { 639 switch(cur_player) {
640 case BLACK:
641 cur_strategy = black_strategy;
642 break;
643 case WHITE: 640 case WHITE:
644 cur_strategy = white_strategy; 641 cur_strategy = white_strategy;
645 break; 642 break;
643 case BLACK:
644 default:
645 cur_strategy = black_strategy;
646 break;
646 } 647 }
647 648
648 if(cur_strategy->is_robot && !game_finished) { 649 if(cur_strategy->is_robot && !game_finished) {