Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2004:
[Freeciv-Dev] Re: (PR#8749) Scenario fixes
Home

[Freeciv-Dev] Re: (PR#8749) Scenario fixes

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: undisclosed-recipients: ;
Subject: [Freeciv-Dev] Re: (PR#8749) Scenario fixes
From: "Per Inge Mathisen" <per@xxxxxxxxxxx>
Date: Sat, 15 May 2004 16:32:25 -0700
Reply-to: rt@xxxxxxxxxxx

<URL: http://rt.freeciv.org/Ticket/Display.html?id=8749 >

On Sat, 15 May 2004, Raimar Falke wrote:
> >PACKET_NATIONS_SELECTED_INFO=9;sc,lsend
> >  UINT8 num_nations_used;
> > -NATION nations_used[MAX_NUM_PLAYERS:num_nations_used];
> > +NATION nations_used[MAX_NUM_ITEMS:num_nations_used];
> >end
>
> This looks like a mistake.

No. We don't send the number of start positions here, we send an array of
all _deactivated_ nations.

Quite inefficient, true. A bitvector would be far more appropriate. But I
just extended the current code a bit, so...

  - Per




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