src/chess/rules.h

changeset 61
e3a1a794351e
parent 55
54ea19938d57
child 63
611332453da0
     1.1 --- a/src/chess/rules.h	Tue Aug 28 14:37:09 2018 +0200
     1.2 +++ b/src/chess/rules.h	Tue Aug 28 15:45:44 2018 +0200
     1.3 @@ -246,7 +246,7 @@
     1.4   * field and could capture an opponent piece
     1.5   */
     1.6  #define is_attacked(gamestate, row, file, color) \
     1.7 -    get_threats(gamestate, row, file, color, NULL, NULL)
     1.8 +    get_real_threats(gamestate, row, file, color, NULL, NULL)
     1.9  
    1.10  /**
    1.11   * Checks, if a specified field is protected by a piece of a certain color.

mercurial