samples/games/stonePairs: Fixed resetting takeOut on New Game
authorJerome St-Louis <jerome@ecere.com>
Sat, 26 Apr 2014 19:47:42 +0000 (15:47 -0400)
committerJerome St-Louis <jerome@ecere.com>
Sat, 26 Apr 2014 19:47:42 +0000 (15:47 -0400)
samples/games/stonePairs/game.ec

index f78832f..eaba4a5 100644 (file)
@@ -30,6 +30,7 @@ class StonePairsGame
       turn = white;
       movesLeft = 1;
       winner = none;
+      takeOut = false;
    }
 
    bool ProcessMove(int sx, int sy)