[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [gnugo-devel] VC repair
From: |
Portela Fernand |
Subject: |
RE: [gnugo-devel] VC repair |
Date: |
Sun, 22 Dec 2002 19:26:46 +0100 |
Dan wrote:
> Presumably you also have to make this change in dragon.c, line 871.
Hmm, probably a "fingo" when I edited the diff, sorry for the mess.
/nando
Index: engine/dragon.c
===================================================================
RCS file: /cvsroot/gnugo/gnugo/engine/dragon.c,v
retrieving revision 1.92
diff -u -r1.92 dragon.c
--- engine/dragon.c 21 Dec 2002 18:25:51 -0000 1.92
+++ engine/dragon.c 22 Dec 2002 18:35:34 -0000
@@ -868,8 +868,8 @@
/* We can always expand the first step, regardless of influence. */
if (dist == 1
- || (whose_area(&INITIAL_INFLUENCE(color), pos) == color
- && whose_area(&INITIAL_INFLUENCE(color), pos2)
+ || (whose_area(INITIAL_INFLUENCE(color), pos) == color
+ && whose_area(INITIAL_INFLUENCE(color), pos2)
!= OTHER_COLOR(color))) {
/* Expansion ok. Now see if someone else has tried to
* expand here. In that case we indicate a collision by
RE: [gnugo-devel] VC repair,
Portela Fernand <=