Complete.Org: Mailing Lists: Archives: freeciv-dev: May 2000:
[Freeciv-Dev] Re: [FreeCiv-Cvs] nb: Robert Brady <rwb197@xxxxxxxxxx> has
Home

[Freeciv-Dev] Re: [FreeCiv-Cvs] nb: Robert Brady <rwb197@xxxxxxxxxx> has

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxxxxxxxxxx
Subject: [Freeciv-Dev] Re: [FreeCiv-Cvs] nb: Robert Brady <rwb197@xxxxxxxxxx> has reported th...
From: Reinier Post <rp@xxxxxxxxxx>
Date: Sun, 14 May 2000 23:45:06 +0200

  Just a comment,

>   A fix is to ignore Great Library if there are less than 3 players. 
> Barbarians aren't counted in this number. A variable nbarbarains is added to 
> the
> struct game. Each time create_barbarian_player is successfully called, 
> this number is increased. So, if game.nplayers - game.nbarbarians < 3, 
> AI will ignore the great library.

There are several counts of the numbers of barbarians in the code already.
These could be replaced with mentions of game.nbarbarians now.

Why wasn't game.nbarbarians introduced before?  Just coincidence,
or a design criterion I am not aware of?

-- 
Reinier



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