Fixed bug #13161: Inactive weapon special name and description not used

This commit is contained in:
Gunter Labes 2009-03-11 13:05:52 +00:00
parent d02bea2388
commit 36b6eae6ff
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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) {