mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-03 16:30:04 +00:00
Fixed bug #13161: Inactive weapon special name and description not used
This commit is contained in:
parent
d02bea2388
commit
36b6eae6ff
@ -8,6 +8,7 @@ Version 1.5.13+svn:
|
||||
* User interface:
|
||||
* Fix an assertion failure when an unexpected mouse button was used
|
||||
(bug #13126)
|
||||
* Fixed bug #13161: Inactive weapon special name and description not used
|
||||
* Miscellaneous and bug fixes:
|
||||
* Fix another campaign replay bug (#13139)
|
||||
|
||||
|
@ -317,8 +317,7 @@ Units cannot be killed by poison alone. The poison will not reduce it below 1 HP
|
||||
res.add_text(str,tooltip);
|
||||
|
||||
|
||||
// true argument forces display of all specials
|
||||
const std::vector<t_string>& specials = at_it->special_tooltips(true);
|
||||
const std::vector<t_string>& specials = at_it->special_tooltips();
|
||||
|
||||
if(! specials.empty()) {
|
||||
for(std::vector<t_string>::const_iterator sp_it = specials.begin(); sp_it != specials.end(); ++sp_it) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user