URL:
<http://gna.org/bugs/?21199>
Summary: Ferry stats go wrong when unit change homecity and
owner
Project: Freeciv
Submitted by: cazfi
Submitted on: Wed 16 Oct 2013 01:09:18 PM EEST
Category: ai
Severity: 3 - Normal
Priority: 5 - Normal
Status: In Progress
Assigned to: None
Originator Email:
Open/Closed: Open
Release:
Discussion Lock: Any
Operating System: None
Planned Release: 2.3.5, 2.4.1, 2.5.0, 2.6.0
_______________________________________________________
Details:
unit_change_homecity_handling() calls both "unit_lost" and "unit_got" ai
callbacks before unit has actually changed owner. Latter seems to cause
ferries to be added back to stats of the former owner, and not of the new
owner.
This bug gets realized at least in case of civil war, causing stats of both
old nation and new nation getting wrong.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?21199>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev