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

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

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: ChrisK@xxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#3521) Re: (PR#3601) Intelligence dialog empty
From: "Per I. Mathisen" <per@xxxxxxxxxxx>
Date: Mon, 3 Mar 2003 18:35:23 -0800
Reply-to: rt@xxxxxxxxxxxxxx

On Tue, 4 Mar 2003, Per I. Mathisen wrote:
> On Mon, 3 Mar 2003, Per I. Mathisen wrote:
> > This fixes the symptom, and I think it can suffice for now:
>
> Well, here is another and better fix. Attached. Kudos to Vasco for coming
> up with the solution.

A third fix, kudos to Jason. It also works.

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 02:30:33
@@ -1309,7 +1309,7 @@

   pplayer->is_connected = pinfo->is_connected;

-  if (pplayer->is_connected) {
+  if (game.num_tech_types > 0) {
     read_player_info_techs(pplayer, pinfo->inventions);
   }

Raimar, now you have lots of fixes to choose between!

  - Per




[Prev in Thread] Current Thread [Next in Thread]