src/chess/rules.c

changeset 27
efeb98bc69c9
parent 25
3ab0c2e1a4e2
child 28
0c1371488d87
     1.1 --- a/src/chess/rules.c	Tue Apr 01 14:04:00 2014 +0200
     1.2 +++ b/src/chess/rules.c	Thu Apr 03 16:07:04 2014 +0200
     1.3 @@ -241,7 +241,7 @@
     1.4          move->check = 1;
     1.5      } else if (mstr[len-1] == '#') {
     1.6          len--; mstr[len] = '\0';
     1.7 -        move->checkmate = 1;
     1.8 +        /* ignore - validation should set game state */
     1.9      }
    1.10      
    1.11      /* evaluate promotion */

mercurial