URL:
<http://gna.org/bugs/?18486>
Summary: Xaw-client unit report multiplies units with city
count
Project: Freeciv
Submitted by: cazfi
Submitted on: Thu 11 Aug 2011 07:49:31 PM EEST
Category: client-xaw
Severity: 3 - Normal
Priority: 5 - Normal
Status: Ready For Test
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release: 2.2.8, 2.3.1, 2.4.0
_______________________________________________________
Details:
There's extra city list iteration around iteration of *all* units in
xaw-clients real_units_report_dialog_update(). This means that *all* units,
and their upkeep, is counted once for each city, i.e., their count is
multiplied by city count.
Fix attached.
_______________________________________________________
File Attachments:
-------------------------------------------------------
Date: Thu 11 Aug 2011 07:49:31 PM EEST Name:
XawUnitCountNotMultipliedByCityCount.diff Size: 1kB By: cazfi
<http://gna.org/bugs/download.php?file_id=13839>
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?18486>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev