diff --git a/src/game/morpion.cpp b/src/game/morpion.cpp
index b50c794ffcaf17df38ef87603301bf5f8d0b0163..e578e8d616a4e2aa3b2328ec2d0f1f60bce0024a 100644
--- a/src/game/morpion.cpp
+++ b/src/game/morpion.cpp
@@ -75,10 +75,10 @@ namespace game
 	int morpion::value(uint8_t player) const
 	{
 		if (player == CROSS) {
-			return first_player_win? 1 : (second_player_win? -1 : 0)
+			return state.first_player_win? 1 : (state.second_player_win? -1 : 0)
 		}
 		else if (player == CIRCLE) {
-			return second_player_win? 1 : (first_player_win? -1 : 0)
+			return state.second_player_win? 1 : (state.first_player_win? -1 : 0)
 		}
 		return 0;
 	}