Author: cazfi
Date: Mon Aug  3 01:38:37 2015
New Revision: 29305

URL: http://svn.gna.org/viewcvs/freeciv?rev=29305&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_5/client/mapctrl_common.c

Modified: branches/S2_5/client/mapctrl_common.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/mapctrl_common.c?rev=29305&r1=29304&r2=29305&view=diff
==============================================================================
--- branches/S2_5/client/mapctrl_common.c       (original)
+++ branches/S2_5/client/mapctrl_common.c       Mon Aug  3 01:38:37 2015
@@ -515,6 +515,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