[Freeciv-Dev] (PR#15260) GTK2: interface quirks being observer
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
<URL: http://bugs.freeciv.org/Ticket/Display.html?id=15260 >
> [dmarks - Tue Jan 24 08:47:55 2006]:
> - The 'Messages' tab isn't refreshed between turns and notices of
> wonders keep piling up.
Patch attached.
-jason
Index: server/srv_main.c
===================================================================
--- server/srv_main.c (revision 12162)
+++ server/srv_main.c (working copy)
@@ -740,6 +740,14 @@
{
freelog(LOG_DEBUG, "Endturn");
+ /* Hack: because observer players never get an end-phase packet we send
+ * one here. It would be better perhaps to have a full end-turn packet. */
+ conn_list_iterate(game.est_connections, pconn) {
+ if (!pconn->player) {
+ send_packet_end_phase(pconn);
+ }
+ } conn_list_iterate_end;
+
map_calculate_borders();
freelog(LOG_DEBUG, "Season of native unrests");
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Freeciv-Dev] (PR#15260) GTK2: interface quirks being observer,
Jason Short <=
|
|