Complete.Org: Mailing Lists: Archives: freeciv-dev: September 2004:
[Freeciv-Dev] Re: (PR#10128) improve eff building code
Home

[Freeciv-Dev] Re: (PR#10128) improve eff building code

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: per@xxxxxxxxxxx
Subject: [Freeciv-Dev] Re: (PR#10128) improve eff building code
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 15 Sep 2004 09:19:22 -0700
Reply-to: rt@xxxxxxxxxxx

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

Oh, except this:


+            pcity->ai.building_want[id] = TRADE_WEIGHTING;

shouldn't it be

   assert(c == 1);
   v = pcity->shield_surplus * TRADE_WEIGHTING;

?

jason




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