<URL: http://bugs.freeciv.org/Ticket/Display.html?id=40101 >

Good daytime!

S2_1 contains two typos: mirules.nplayers used against minplayers.
One is in commentary, other in line that is sent to metaserver...
Typos don't affect game process. (But you can see them on metaserver.)

Attached is patch for S2_1, should be applyable to S2_2 and trunk
(both have same typos.)

Thanks, evyscr

Index: server/settings.c
--- server/settings.c	(revision 14387)
+++ server/settings.c	(working copy)
@@ -409,7 +409,7 @@
   /* Options affecting numbers of players and AI players.  These only
    * affect the start of the game and can not be adjusted after that.
-   * (Actually, mirules.nplayers does also affect reloads: you can't start a
+   * (Actually, minplayers does also affect reloads: you can't start a
    * reload game until enough players have connected (or are AI).)
   GEN_INT("minplayers", game.info.min_players,
Index: server/meta.c
--- server/meta.c	(revision 14387)
+++ server/meta.c	(working copy)
@@ -359,7 +359,7 @@
     s = end_of_strn(s, &rest);
     my_snprintf(s, rest, "vn[]=%s&vv[]=%d&",
-                my_url_encode("mirules.nplayers"), game.info.min_players);
+                my_url_encode("minplayers"), game.info.min_players);
     s = end_of_strn(s, &rest);
     my_snprintf(s, rest, "vn[]=%s&vv[]=%d&",
Freeciv-dev mailing list

Reply via email to