Ticket #145: endgame.c.patch

File endgame.c.patch, 0.8 kB (added by draqo, 2 years ago)
  • gnugo/engine/endgame.c

    RCS file: /sources/gnugo/gnugo/engine/endgame.c,v
    retrieving revision 1.13
    diff -u -r1.13 endgame.c
     
    5050  /* Try to generate some moves using endgame_analyze_worm_liberties(). See 
    5151   * the description of that function to find what moves it generates. 
    5252   */ 
    53   for (pos = BOARDMIN; pos < BOARDMAX; pos++) { 
     53  scan_board(pos, 
    5454    /* We are only interested in alive, but not invincible worms which are 
    5555     * parts of alive dragons. That is, the position must be stable. 
    5656     */ 
     
    6363      endgame_analyze_worm_liberties(pos, color); 
    6464      endgame_find_backfilling_dame(pos, color); 
    6565    } 
    66   } 
     66  ) 
    6767} 
    6868 
    6969