K 10
svn:author
V 2
nb
K 8
svn:date
V 27
2000-05-14T21:21:27.000000Z
K 7
svn:log
V 719
Robert Brady <rwb197@zepler.org> has reported the following bug (PR#284) :

The AI will sometimes build the Great Library when there is only
one other living nation in the game.

  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.

   Also, each time a player is removed via game_remove_player, nbarbarians is
decreased. Each time a game is reload, nbarbarians is counted
in the function player_load.

Patch submitted by brunel@esil.univ-mrs.fr

END
