aboutsummaryrefslogtreecommitdiff
path: root/net.c
diff options
context:
space:
mode:
Diffstat (limited to 'net.c')
-rw-r--r--net.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/net.c b/net.c
index 3c28ccc..cf3fe3d 100644
--- a/net.c
+++ b/net.c
@@ -272,6 +272,15 @@ char *new_game_seed(game_params *params)
return dupstr(buf);
}
+char *validate_seed(game_params *params, char *seed)
+{
+ /*
+ * Since any string at all will suffice to seed the RNG, there
+ * is no validation required.
+ */
+ return NULL;
+}
+
/* ----------------------------------------------------------------------
* Construct an initial game state, given a seed and parameters.
*/