diff options
author | Tom Smeding <tom.smeding@gmail.com> | 2018-07-01 23:50:52 +0200 |
---|---|---|
committer | Tom Smeding <tom.smeding@gmail.com> | 2018-07-01 23:51:42 +0200 |
commit | 6d6292cc9d2da6b570a3a44ede78b098fccd7537 (patch) | |
tree | 5c993de409432d50b59c62b806ecf781ef6fe6f3 /ai_mm.cpp | |
parent | e0446e8653df1789893cb8530aafd3dd052b32ca (diff) |
Actually break loop in Board::forEachMove
Diffstat (limited to 'ai_mm.cpp')
-rw-r--r-- | ai_mm.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -94,6 +94,7 @@ Move AI::MM::findMove(const Board &bd, int player) { bestScore = score; bestMove = mv; } + return false; }); cerr << ']' << endl; |