src/game.c

changeset 115
206201d544be
parent 114
12df1b7c792f
child 116
4bf18d42e7ee
--- a/src/game.c	Mon Apr 27 18:06:00 2026 +0200
+++ b/src/game.c	Tue Apr 28 12:25:48 2026 +0200
@@ -478,8 +478,7 @@
             } else if (movestr[0] == 0) {
                 memset(gamestate->premove, 0, sizeof(gamestate->premove));
             } else {
-                Move move;
-                int res = eval_move(gamestate, movestr, &move, mycolor);
+                int res = check_move(movestr, mycolor);
                 if (res == VALID_MOVE_SYNTAX) {
                     strncpy(gamestate->premove, movestr, 8);
                     memset(movestr, 0, MOVESTR_BUFLEN);

mercurial