Distinguish MOVE_UNUSED from MOVE_NO_EFFECT in Unruly

This commit is contained in:
Ben Harris
2023-08-12 14:45:50 +01:00
parent 20bd61bf49
commit a409cfe169

View File

@ -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)