Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2005:
[Freeciv-Dev] (PR#13050) missing field in ruleset packet
Home

[Freeciv-Dev] (PR#13050) missing field in ruleset packet

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] (PR#13050) missing field in ruleset packet
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Thu, 12 May 2005 14:01:11 -0700
Reply-to: bugs@xxxxxxxxxxx

<URL: http://bugs.freeciv.org/Ticket/Display.html?id=13050 >

This patch fixes a missing field in one of the ruleset packets.

-jason


? colors.diff
? common/team.c
? common/team.h
Index: server/ruleset.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/server/ruleset.c,v
retrieving revision 1.264
diff -u -r1.264 ruleset.c
--- server/ruleset.c    11 May 2005 22:07:00 -0000      1.264
+++ server/ruleset.c    12 May 2005 20:47:38 -0000
@@ -2940,6 +2940,9 @@
         ARRAY_SIZE(game.rgame.global_init_techs));
   memcpy(misc_p.global_init_techs, game.rgame.global_init_techs,
         sizeof(misc_p.global_init_techs));
+
+  misc_p.default_specialist = DEFAULT_SPECIALIST;
+
   lsend_packet_ruleset_game(dest, &misc_p);
 }
 


[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#13050) missing field in ruleset packet, Jason Short <=