diff --git a/src/renju.cpp b/src/renju.cpp index 43a4d26..95a7184 100644 --- a/src/renju.cpp +++ b/src/renju.cpp @@ -175,7 +175,9 @@ int Renju::countA4(Board *board, const pair &p_drt) } } - if ((i_flag & 0x07) == 0x07) //'11101111' or '11110111' + if ((i_flag & 0x0F) == 0x0F) // '110111011' + i_count = 2; + else if ((i_flag & 0x07) == 0x07) //'11101111' or '11110111' i_count = 1; else if ((i_flag & 0x03) == 0x03) //'1011101', '10111101' i_count = 2;