--- a/src/chess/rules.c Wed Aug 29 15:12:24 2018 +0200 +++ b/src/chess/rules.c Wed Aug 29 17:05:40 2018 +0200 @@ -71,7 +71,7 @@ }; } -/* MUST be called BEFORE applying a move to work correctly */ +/* MUST be called BETWEEN validating AND applying a move to work correctly */ static void format_move(GameState *gamestate, Move *move) { char *string = &(move->string[0]); @@ -154,7 +154,6 @@ /* check? */ if (move->check) { - // TODO: does not work, because checkmate is not set when format_move is called string[idx++] = gamestate->checkmate?'#':'+'; } }