From 141f82f0b7b350a7dcf75dc88cdbefe7d7547cd0 Mon Sep 17 00:00:00 2001 From: Francesco Bariatti <francesco.bariatti@insa-rennes.fr> Date: Mon, 14 Dec 2015 16:25:22 +0100 Subject: [PATCH] Added some spaces --- src/game/morpion.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/game/morpion.cpp b/src/game/morpion.cpp index 7a9316b..cf61680 100644 --- a/src/game/morpion.cpp +++ b/src/game/morpion.cpp @@ -73,10 +73,10 @@ namespace game int morpion::value(uint8_t player) const { if (player == CROSS) { - return state.first_player_win? 1 : (state.second_player_win? -1 : 0); + return state.first_player_win ? 1 : (state.second_player_win ? -1 : 0); } else if (player == CIRCLE) { - return state.second_player_win? 1 : (state.first_player_win? -1 : 0); + return state.second_player_win ? 1 : (state.first_player_win ? -1 : 0); } return 0; } -- GitLab