diff options
Diffstat (limited to 'guess.c')
| -rw-r--r-- | guess.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -946,13 +946,13 @@ static game_state *execute_move(const game_state *from, const char *move) game_state *ret; const char *p; - /* No moves are allowed once the game is solved. */ - if (from->solved) return NULL; if (!strcmp(move, "S")) { ret = dup_game(from); ret->solved = -1; return ret; } else if (move[0] == 'G') { + /* No guesses are allowed once the game is solved. */ + if (from->solved) return NULL; p = move+1; ret = dup_game(from); |