Ticket #168: draqo-send2ret1b.diff

File draqo-send2ret1b.diff, 0.7 kB (added by gunnar, 15 months ago)

The other part of the patch.

  • engine/reading.c

     
    175175      int ko_move;                                                      \ 
    176176      int apos = moves.pos[k];                                          \ 
    177177                                                                        \ 
    178       if (komaster_trymove(apos, other, moves.message[k], str,&ko_move, \ 
    179                            stackp <= ko_depth && savecode == 0)) {      \ 
     178      if ((board_ko_pos || !send_two_return_one(apos, other))           \ 
     179          && komaster_trymove(apos, other, moves.message[k], str, &ko_move,\ 
     180                              stackp <= ko_depth && savecode == 0)) {   \ 
    180181        int dcode = do_find_defense(str, (defense_hint));               \ 
    181182                                                                        \ 
    182183        if (REVERSE_RESULT(dcode) > savecode                            \