From d34c373a64599ae7748668382de500429fb2cb39 Mon Sep 17 00:00:00 2001 From: Petr Baudis Date: Sun, 14 Feb 2010 03:25:53 +0100 Subject: [PATCH] board_gamma_update(): Include pat3 gamma values --- board.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/board.c b/board.c index 449e099..07f0b04 100644 --- a/board.c +++ b/board.c @@ -416,7 +416,7 @@ board_gamma_update(struct board *board, coord_t coord, enum stone color) /* We just quickly replicate the general pattern matcher stuff * here in the most bare-bone way. */ - float value = 1.0f; + float value = board->gamma->gamma[FEAT_PATTERN3][board->pat3[coord]]; if (trait_at(board, coord, color).cap) value *= board->gamma->gamma[FEAT_CAPTURE][0]; if (trait_at(board, coord, stone_other(color)).cap -- 2.11.4.GIT