Complete.Org: Mailing Lists: Archives: freeciv-dev: December 2004:
[Freeciv-Dev] Re: (PR#11271) get_food_trade_shields isn't good
Home

[Freeciv-Dev] Re: (PR#11271) get_food_trade_shields isn't good

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
Subject: [Freeciv-Dev] Re: (PR#11271) get_food_trade_shields isn't good
From: "Jason Short" <jdorje@xxxxxxxxxxxxxxxxxxxxx>
Date: Wed, 8 Dec 2004 10:41:14 -0800
Reply-to: rt@xxxxxxxxxxx

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

Per I. Mathisen wrote:

> However, CMA will not work with this patch. I have no idea why.

Looks like the error is in set_tax_income:

+  pcity->luxury_total += output[O_LUXURY];
+  pcity->science_total += output[O_SCIENCE];
+  pcity->tax_total += output[O_GOLD];

should be = not +=.

jason





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