Ticket #141: bugfix_7_11.5.diff

File bugfix_7_11.5.diff, 0.9 kB (added by arend, 2 years ago)

(Only file name changed) Fixes node counting in semeai reading

  • engine/owl.c

    RCS file: /cvsroot/gnugo/gnugo/engine/owl.c,v
    retrieving revision 1.250
    diff -u -r1.250 owl.c
     
    20542054           * send-two-return-one sacrifice. 
    20552055           */ 
    20562056          const char *name = "defense move"; 
     2057          SGFTree *save_sgf_dumptree = sgf_dumptree; 
     2058          int save_count_variations = count_variations; 
     2059 
     2060          sgf_dumptree = NULL; 
     2061          count_variations = 0; 
    20572062 
    20582063          if (is_suicide(dpos, other) || send_two_return_one(dpos, other)) { 
    20592064            int dpos2; 
     
    20672072            } 
    20682073          } 
    20692074 
     2075          sgf_dumptree = save_sgf_dumptree; 
     2076          count_variations = save_count_variations; 
     2077         
    20702078          if (dpos != NO_MOVE) { 
    20712079            set_single_owl_move(shape_moves, dpos, name); 
    20722080            moves = shape_moves;