Complete.Org: Mailing Lists: Archives: freeciv-dev: March 2003:
[Freeciv-Dev] (PR#3601) Intelligence dialog empty
Home

[Freeciv-Dev] (PR#3601) Intelligence dialog empty

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients:;
Subject: [Freeciv-Dev] (PR#3601) Intelligence dialog empty
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Mon, 3 Mar 2003 16:32:22 -0800
Reply-to: rt@xxxxxxxxxxxxxx

GTK2 client, current CVS

For other players that are not connected (such as AIs), you do not get
updated tech info in Intelligence dialog.

The reason is obvious; the reason why this code was made the way it is, is
much less so.

Index: client/packhand.c
===================================================================
RCS file: /home/freeciv/CVS/freeciv/client/packhand.c,v
retrieving revision 1.293
diff -u -r1.293 packhand.c
--- client/packhand.c   2003/02/20 23:00:55     1.293
+++ client/packhand.c   2003/03/04 00:30:28
@@ -1309,9 +1309,7 @@

   pplayer->is_connected = pinfo->is_connected;

-  if (pplayer->is_connected) {
-    read_player_info_techs(pplayer, pinfo->inventions);
-  }
+  read_player_info_techs(pplayer, pinfo->inventions);

   poptechup = (pplayer->research.researching!=pinfo->researching);
   pplayer->research.bulbs_researched = pinfo->bulbs_researched;

  - Per




[Prev in Thread] Current Thread [Next in Thread]
  • [Freeciv-Dev] (PR#3601) Intelligence dialog empty, Per I. Mathisen <=