URL:
<http://gna.org/bugs/?20063>
Summary: wrong tech upkeep when tech_cost_style = 2 or 4
Project: Freeciv
Submitted by: bardo
Submitted on: mar 14 ago 2012 01:46:04 GMT
Category: None
Severity: 3 - Normal
Priority: 5 - Normal
Status: None
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release:
_______________________________________________________
Details:
Possible bug in file tech.c.
It says:
>tech_bulb_sum = advances[i].preset_cost;
where it should say:
>tech_bulb_sum += advances[i].preset_cost;
When tech_cost_style is 2 or 4, the bug causes a reduced tech upkeep that take
into account only one tech instead of the whole tree.
If someone fixes this bug, please remember also to dissable the tech upkeep in
the modpack civ2civ3, else the upkeep is going to be 100 times greater than it
was designed.
I attach a .diff with both fixes.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: mar 14 ago 2012 01:46:04 GMT Name: FixTechUpkeep-Fixciv2civ3.diff
Size: 968B By: bardo
<http://gna.org/bugs/download.php?file_id=16391>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?20063>
_______________________________________________
Mensaje enviado vía/por Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev