From a409cfe16978d8e98a3754c6053cd00b09d32b26 Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sat, 12 Aug 2023 14:45:50 +0100 Subject: [PATCH] Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Unruly --- unruly.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/unruly.c b/unruly.c index 37f36a6..c30e450 100644 --- a/unruly.c +++ b/unruly.c @@ -1628,7 +1628,7 @@ static char *interpret_move(const game_state *state, game_ui *ui, nullret = MOVE_UI_UPDATE; } } else - return NULL; + return MOVE_UNUSED; } /* Keyboard move */ @@ -1672,7 +1672,7 @@ static char *interpret_move(const game_state *state, game_ui *ui, return dupstr(buf); } - return NULL; + return MOVE_UNUSED; } static game_state *execute_move(const game_state *state, const char *move)