Complete.Org: Mailing Lists: Archives: freeciv-ai: August 2003:
[freeciv-ai] Re: virtual cleanup (PR#4672)
Home

[freeciv-ai] Re: virtual cleanup (PR#4672)

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: jdorje@xxxxxxxxxxxxxxxxxxxxx
Subject: [freeciv-ai] Re: virtual cleanup (PR#4672)
From: "Gregory Berkolaiko" <Gregory.Berkolaiko@xxxxxxxxxxxx>
Date: Mon, 11 Aug 2003 04:30:24 -0700
Reply-to: rt@xxxxxxxxxxxxxx

On Sat, 9 Aug 2003, Per I. Mathisen wrote:

> 
> This patch sets some extra variables in the new virtual unit and city
> functions, removes one unused AI variable from pcity, and adds the use of
> the virtual functions to savegame.c.
> 
> This should fix ticket "#4672 more uninitialized AI values".

An unrealted question: why 
-    if (game.version >=10300)
+    if (game.version >= 10300) {
       pcity->airlift=secfile_lookup_bool(file,
                                        "player%d.c%d.airlift", plrno,i);
-    else
-      pcity->airlift = FALSE;
+    }

cannot be converted to secfile_lookup_bool_default ?

G.





[Prev in Thread] Current Thread [Next in Thread]
  • [freeciv-ai] Re: virtual cleanup (PR#4672), Gregory Berkolaiko <=