From 36b6eae6ff36ea3473dd8da119ef78425cf31177 Mon Sep 17 00:00:00 2001 From: Gunter Labes Date: Wed, 11 Mar 2009 13:05:52 +0000 Subject: [PATCH] Fixed bug #13161: Inactive weapon special name and description not used --- changelog | 1 + src/generate_report.cpp | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/changelog b/changelog index 627c653fef5..65ccf3f4740 100644 --- a/changelog +++ b/changelog @@ -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) diff --git a/src/generate_report.cpp b/src/generate_report.cpp index 6ca42e71aef..6a1fbff68e4 100644 --- a/src/generate_report.cpp +++ b/src/generate_report.cpp @@ -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& specials = at_it->special_tooltips(true); + const std::vector& specials = at_it->special_tooltips(); if(! specials.empty()) { for(std::vector::const_iterator sp_it = specials.begin(); sp_it != specials.end(); ++sp_it) {