Author: cazfi
Date: Mon Aug  3 01:38:30 2015
New Revision: 29304

URL: http://svn.gna.org/viewcvs/freeciv?rev=29304&view=rev
Log:
Make sure Turn Done button is insensitive for players other than those whose 
phase it is.
The problem manifested itself especially before player's first phase after 
logging in.

See bug #21633

Modified:
    branches/S2_6/client/mapctrl_common.c

Modified: branches/S2_6/client/mapctrl_common.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_6/client/mapctrl_common.c?rev=29304&r1=29303&r2=29304&view=diff
==============================================================================
--- branches/S2_6/client/mapctrl_common.c       (original)
+++ branches/S2_6/client/mapctrl_common.c       Mon Aug  3 01:38:30 2015
@@ -517,6 +517,7 @@
   return (can_client_issue_orders()
           && !client.conn.playing->ai_controlled
           && !client.conn.playing->phase_done
+          && is_player_phase(client.conn.playing, game.info.phase)
           && !agents_busy());
 }
 


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

Reply via email to