URL:
<http://gna.org/bugs/?23267>
Summary: Multiple "Can do the action.."
Project: Freeciv
Submitted by: cazfi
Submitted on: Thu 12 Feb 2015 08:44:59 PM EET
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: 2.6.0, 3.0.0
_______________________________________________________
Details:
If I read the help code right, iteration over all action enablers for a given
action type can result in multiple identical lines of helptexts if more than
one enablers matches the unittype in question.
I were checking the code to see if we should add "bool
action_enabled_for_universal(action_type, universal);" utility function, and
it indeed might be best fix for this bug, as well as providing necessary
functionality for other places of the code.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?23267>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Freeciv-dev mailing list
[email protected]
https://mail.gna.org/listinfo/freeciv-dev