summaryrefslogtreecommitdiff
path: root/src/game_loop.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game_loop.c')
-rw-r--r--src/game_loop.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game_loop.c b/src/game_loop.c
index c76f7e6..f71d204 100644
--- a/src/game_loop.c
+++ b/src/game_loop.c
@@ -86,7 +86,7 @@ static void apply_move(enum player_color board[8][8],
// We should have checked for the validity of the move before we got here.
fprintf(stderr, "The move %d %d was not valid for player %d\n", move.row,
- move.col, player_number_from_color(current_player) + 1);
+ move.col, player_number_from_color(current_player));
exit(EXIT_FAILURE);
}