Update of bug #25060 (project wesnoth):
Status: None => Fixed
Assigned to: None => wedge009
Operating System: OS X 10.9.5 => All
Follow-up Comment #1:
It took me a while, but I believe I have found why this is happening.
un_recall_unit_cost() (statistics.cpp:536), which seems to retrieve the cost
of the unit being un-recalled, is also decrementing the recall count of that
unit. This duplicates the decrement of the recall count in un_recall_unit(),
which is why every time a recall is undone, the counter is decremented by 2
instead of 1.
I confirm this is not a problem in 1.12.x - the un_recall_unit_cost() function
was introduced in 1.13.x
Good on you for spotting this fairly well-hidden bug, by the way. Thanks.
Reply to this item at:
Message sent via/by Gna!
Wesnoth-bugs mailing list