Author: cazfi Date: Sun Jun 12 10:51:35 2016 New Revision: 32836 URL: http://svn.gna.org/viewcvs/freeciv?rev=32836&view=rev Log: Do not allow player observer to start the game for the player.
See bug #24678 Modified: branches/S2_6/server/stdinhand.c Modified: branches/S2_6/server/stdinhand.c URL: http://svn.gna.org/viewcvs/freeciv/branches/S2_6/server/stdinhand.c?rev=32836&r1=32835&r2=32836&view=diff ============================================================================== --- branches/S2_6/server/stdinhand.c (original) +++ branches/S2_6/server/stdinhand.c Sun Jun 12 10:51:35 2016 @@ -5707,7 +5707,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