Author: cazfi
Date: Thu Jun 16 10:57:38 2016
New Revision: 32864

URL: http://svn.gna.org/viewcvs/freeciv?rev=32864&view=rev
Log:
Made property editor not to lose other game properties when editing
other one.

See bug #24627

Modified:
    branches/S2_5/client/gui-gtk-2.0/editprop.c
    branches/S2_5/client/gui-gtk-3.0/editprop.c

Modified: branches/S2_5/client/gui-gtk-2.0/editprop.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-gtk-2.0/editprop.c?rev=32864&r1=32863&r2=32864&view=diff
==============================================================================
--- branches/S2_5/client/gui-gtk-2.0/editprop.c (original)
+++ branches/S2_5/client/gui-gtk-2.0/editprop.c Thu Jun 16 10:57:38 2016
@@ -2271,7 +2271,7 @@
       sz_strlcpy(packet->scenario_name, pgame->scenario.name);
       sz_strlcpy(packet->scenario_desc, pgame->scenario.description);
       packet->scenario_players = pgame->scenario.players;
-      /* TODO: Set more packet fields. */
+      packet->startpos_nations = pgame->scenario.startpos_nations;
     }
     return;
 

Modified: branches/S2_5/client/gui-gtk-3.0/editprop.c
URL: 
http://svn.gna.org/viewcvs/freeciv/branches/S2_5/client/gui-gtk-3.0/editprop.c?rev=32864&r1=32863&r2=32864&view=diff
==============================================================================
--- branches/S2_5/client/gui-gtk-3.0/editprop.c (original)
+++ branches/S2_5/client/gui-gtk-3.0/editprop.c Thu Jun 16 10:57:38 2016
@@ -2271,7 +2271,7 @@
       sz_strlcpy(packet->scenario_name, pgame->scenario.name);
       sz_strlcpy(packet->scenario_desc, pgame->scenario.description);
       packet->scenario_players = pgame->scenario.players;
-      /* TODO: Set more packet fields. */
+      packet->startpos_nations = pgame->scenario.startpos_nations;
     }
     return;
 


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

Reply via email to