New infrastructure feature. Games are now permitted to be
[sgt/puzzles] / guess.c
diff --git a/guess.c b/guess.c
index 6fb3630..9117e8e 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,