Author: cazfi
Date: Sun Aug 23 15:51:35 2015
New Revision: 29656

URL: http://svn.gna.org/viewcvs/freeciv?rev=29656&view=rev
Log:
Sdl-clients no longer ask user to end turn when one already has done that.

See patch #6271

Modified:
    branches/S2_5/client/gui-sdl/mapctrl.c
    branches/S2_5/client/gui-sdl/mapview.c

Modified: branches/S2_5/client/gui-sdl/mapctrl.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-sdl/mapctrl.c?rev=29656&r1=29655&r2=29656&view=diff
==============================================================================
--- branches/S2_5/client/gui-sdl/mapctrl.c      (original)
+++ branches/S2_5/client/gui-sdl/mapctrl.c      Sun Aug 23 15:51:35 2015
@@ -2728,6 +2728,7 @@
     }
     widget_redraw(pNew_Turn_Button);
     widget_flush(pNew_Turn_Button);
+    redraw_unit_info_label(get_units_in_focus());
   }
 }
 

Modified: branches/S2_5/client/gui-sdl/mapview.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-sdl/mapview.c?rev=29656&r1=29655&r2=29656&view=diff
==============================================================================
--- branches/S2_5/client/gui-sdl/mapview.c      (original)
+++ branches/S2_5/client/gui-sdl/mapview.c      Sun Aug 23 15:51:35 2015
@@ -900,7 +900,7 @@
        hide_scrollbar(pInfo_Window->private_data.adv_dlg->pScroll);
       }
 
-      if (!client_is_observer()
+      if (!client_is_observer() && !client.conn.playing->phase_done
           && (!client.conn.playing->ai_controlled || ai_manual_turn_done)) {
         char buf[256];
         fc_snprintf(buf, sizeof(buf), "%s\n%s\n%s",


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

Reply via email to