aboutsummaryrefslogtreecommitdiff
path: root/blackbox.c
diff options
context:
space:
mode:
Diffstat (limited to 'blackbox.c')
-rw-r--r--blackbox.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/blackbox.c b/blackbox.c
index 458c0b8..a8c6d5a 100644
--- a/blackbox.c
+++ b/blackbox.c
@@ -463,6 +463,11 @@ static char *solve_game(game_state *state, game_state *currstate,
return dupstr("S");
}
+static int game_can_format_as_text_now(game_params *params)
+{
+ return TRUE;
+}
+
static char *game_text_format(game_state *state)
{
return NULL;
@@ -1413,7 +1418,7 @@ const struct game thegame = {
dup_game,
free_game,
TRUE, solve_game,
- FALSE, game_text_format,
+ FALSE, game_can_format_as_text_now, game_text_format,
new_ui,
free_ui,
encode_ui,