Ticket #206: gunnar_7_13.4.diff
| File gunnar_7_13.4.diff, 0.5 kB (added by gunnar, 9 months ago) |
|---|
-
engine/owl.c
diff --git a/engine/owl.c b/engine/owl.c index c9599fc..9af0bc3 100644
a b 6171 6171 for (k = 0; k < 4; k++) { 6172 6172 int apos = attack_point + delta[k]; 6173 6173 if (!ON_BOARD(attack_point - delta[k]) && board[apos] == EMPTY) { 6174 if (does_attack(apos, lunch) && safe_move(apos, color)) 6174 if (does_attack(apos, lunch) && safe_move(apos, color) 6175 && !defend_against(attack_point, color, apos)) { 6175 6176 return apos; 6177 } 6176 6178 break; 6177 6179 } 6178 6180 }
