From 8b049de2a4123d1df063b754eb054490d992b9a5 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sun, 4 Jul 2010 14:36:47 +0200 Subject: [PATCH] board_gamma_update: Fix FEAT_AESCAPE construction --- board.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/board.c b/board.c index eb93588..6151c23 100644 --- a/board.c +++ b/board.c @@ -431,8 +431,7 @@ board_gamma_update(struct board *board, coord_t coord, enum stone color) i |= (!trait_at(board, coord, color).safe) << PF_CAPTURE_TRAPPED; value *= board->gamma->gamma[FEAT_CAPTURE][i]; } - if (trait_at(board, coord, stone_other(color)).cap - && trait_at(board, coord, color).safe) { + if (trait_at(board, coord, stone_other(color)).cap) { int i = 0; i |= (trait_at(board, coord, stone_other(color)).cap1 == trait_at(board, coord, stone_other(color)).cap) << PF_AESCAPE_1STONE; i |= (!trait_at(board, coord, stone_other(color)).safe) << PF_AESCAPE_TRAPPED; -- 2.11.4.GIT