mail[Wesnoth-commits] r28840 - /trunk/src/generate_report.cpp


Others Months | Index by Date | Thread Index
>>   [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Header


Content

Posted by esr on August 22, 2008 - 10:28:
Author: esr
Date: Fri Aug 22 10:27:59 2008
New Revision: 28840

URL: http://svn.gna.org/viewcvs/wesnoth?rev=28840&view=rev
Log:
Fix bug #11259: Weapon specials aren't displayed in right panel if
they're filtered.

Modified:
    trunk/src/generate_report.cpp

Modified: trunk/src/generate_report.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/generate_report.cpp?rev=28840&r1=28839&r2=28840&view=diff
==============================================================================
--- trunk/src/generate_report.cpp (original)
+++ trunk/src/generate_report.cpp Fri Aug 22 10:27:59 2008
@@ -323,7 +323,8 @@
                        res.add_text(str,tooltip);
 
 
-                       const std::vector<t_string>& specials = 
at_it->special_tooltips();
+                       // true argument forces display of all specials
+                       const std::vector<t_string>& specials = 
at_it->special_tooltips(true);
 
                        if(! specials.empty()) {
                                for(std::vector<t_string>::const_iterator 
sp_it = specials.begin(); sp_it != specials.end(); ++sp_it) {




Related Messages


Powered by MHonArc, Updated Fri Aug 22 10:42:10 2008