aboutsummaryrefslogtreecommitdiff
path: root/nullgame.c
diff options
context:
space:
mode:
Diffstat (limited to 'nullgame.c')
-rw-r--r--nullgame.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/nullgame.c b/nullgame.c
index 4888a78..118cefe 100644
--- a/nullgame.c
+++ b/nullgame.c
@@ -123,6 +123,11 @@ static char *solve_game(game_state *state, game_state *currstate,
return NULL;
}
+static int game_can_format_as_text_now(game_params *params)
+{
+ return TRUE;
+}
+
static char *game_text_format(game_state *state)
{
return NULL;
@@ -266,7 +271,7 @@ const struct game thegame = {
dup_game,
free_game,
FALSE, solve_game,
- FALSE, game_text_format,
+ FALSE, game_can_format_as_text_now, game_text_format,
new_ui,
free_ui,
encode_ui,