X-Git-Url: https://git.distorted.org.uk/~mdw/sgt/puzzles/blobdiff_plain/fd66a01dcdad6bb7cdc7277fca3c193345e25fbd..8ef49e1d6982dd55a55c27c84806abedc895aeb5:/range.c diff --git a/range.c b/range.c index 6bdba76..afb2de6 100644 --- a/range.c +++ b/range.c @@ -1485,9 +1485,9 @@ static float game_flash_length(game_state *from, game_state *to, return 0.0F; } -static int game_is_solved(game_state *state) +static int game_status(game_state *state) { - return state->was_solved; + return state->was_solved ? +1 : 0; } /* ---------------------------------------------------------------------- @@ -1737,7 +1737,7 @@ struct game const thegame = { game_redraw, game_anim_length, game_flash_length, - game_is_solved, + game_status, TRUE, FALSE, game_print_size, game_print, FALSE, /* wants_statusbar */ FALSE, game_timing_state,