diff options
| author | Ben Harris <bjh21@bjh21.me.uk> | 2023-08-12 14:45:50 +0100 |
|---|---|---|
| committer | Ben Harris <bjh21@bjh21.me.uk> | 2023-08-13 16:44:24 +0100 |
| commit | a409cfe16978d8e98a3754c6053cd00b09d32b26 (patch) | |
| tree | eb167b078ca29f7d291625b384209002de1df49f | |
| parent | 20bd61bf4931396cc74265046a0f1bb4a3c57fd4 (diff) | |
| download | puzzles-a409cfe16978d8e98a3754c6053cd00b09d32b26.zip puzzles-a409cfe16978d8e98a3754c6053cd00b09d32b26.tar.gz puzzles-a409cfe16978d8e98a3754c6053cd00b09d32b26.tar.bz2 puzzles-a409cfe16978d8e98a3754c6053cd00b09d32b26.tar.xz | |
Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Unruly
| -rw-r--r-- | unruly.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |