Complete.Org: Mailing Lists: Archives: freeciv-dev: January 2001:
[Freeciv-Dev] gamelog
Home

[Freeciv-Dev] gamelog

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: freeciv-dev@xxxxxxxxxxx
Subject: [Freeciv-Dev] gamelog
From: Paul Zastoupil <paulz@xxxxxxxxxxxx>
Date: Thu, 11 Jan 2001 10:20:05 -0800

I can't remember if the population field in the gamelog is used for anything.
Does anyone oppose putting civ_score in there?

This would make ranking easier.

diff -u -r1.13 gamelog.c
--- gamelog.c   2000/04/25 12:00:53     1.13
+++ gamelog.c   2001/01/11 18:16:41
@@ -116,7 +116,7 @@
     fc_malloc(sizeof(struct player_score_entry)*game.nplayers);
   for (i=0,count=0;i<game.nplayers;i++) {
     if (!is_barbarian (&(game.players[i]))) {
-      size[count].value=total_player_citizens(&game.players[i]);
+      size[count].value=civ_score(&game.players[i]);
       size[count].idx=i;
       count++;
     }



-- 
Paul Zastoupil



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