chiark / gitweb /
New infrastructure feature. Games are now permitted to be
[sgt-puzzles.git] / guess.c
diff --git a/guess.c b/guess.c
index 6fb3630383bf04863ae1f2584d678c61b95f5333..9117e8ef905b1b40785483769be273d02b666b96 100644 (file)
--- a/guess.c
+++ b/guess.c
@@ -371,6 +371,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;
@@ -1339,7 +1344,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,