Author: cazfi
Date: Sun Jun 12 10:51:42 2016
New Revision: 32837

URL: http://svn.gna.org/viewcvs/freeciv?rev=32837&view=rev
Log:
Do not allow player observer to start the game for the player.

See bug #24678

Modified:
    branches/S2_5/server/stdinhand.c

Modified: branches/S2_5/server/stdinhand.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/server/stdinhand.c?rev=32837&r1=32836&r2=32837&view=diff
==============================================================================
--- branches/S2_5/server/stdinhand.c    (original)
+++ branches/S2_5/server/stdinhand.c    Sun Jun 12 10:51:42 2016
@@ -5705,7 +5705,7 @@
       }
       start_game();
       return TRUE;
-    } else if (NULL == caller->playing || !caller->playing->is_connected) {
+    } else if (NULL == caller->playing || caller->observer) {
       /* A detached or observer player can't do /start. */
       return TRUE;
     } else {


_______________________________________________
Freeciv-commits mailing list
Freeciv-commits@gna.org
https://mail.gna.org/listinfo/freeciv-commits

Reply via email to