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

When the surrender command failed, it's written:
/endgame: You cannot surrender now.

It should be:
/surrender: You cannot surrender now.

--- server/stdinhand.c.old      2007-08-24 11:40:04.000000000 +0200
+++ server/stdinhand.c  2007-08-24 11:40:44.000000000 +0200
@@ -3666,7 +3666,7 @@
     caller->player->surrendered = TRUE;
     return TRUE;
   } else {
-    cmd_reply(CMD_END_GAME, caller, C_FAIL, _("You cannot surrender
now."));
+    cmd_reply(CMD_SURRENDER, caller, C_FAIL, _("You cannot surrender
now."));
     return FALSE;
   }
 }

--- server/stdinhand.c.old	2007-08-24 11:40:04.000000000 +0200
+++ server/stdinhand.c	2007-08-24 11:40:44.000000000 +0200
@@ -3666,7 +3666,7 @@
     caller->player->surrendered = TRUE;
     return TRUE;
   } else {
-    cmd_reply(CMD_END_GAME, caller, C_FAIL, _("You cannot surrender now."));
+    cmd_reply(CMD_SURRENDER, caller, C_FAIL, _("You cannot surrender now."));
     return FALSE;
   }
 }
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to