Author: alink
Date: Sat Jul 12 21:23:17 2008
New Revision: 27949

URL: http://svn.gna.org/viewcvs/wesnoth?rev=27949&view=rev
Log:
Remove obsolete code preventing the generation of multiple 
special_attack(parameter) topics in help. This also allow name like "Heals(+4)"
The WML author may still use (parameter) in the id key.

Modified:
    trunk/src/help.cpp

Modified: trunk/src/help.cpp
URL: 
http://svn.gna.org/viewcvs/wesnoth/trunk/src/help.cpp?rev=27949&r1=27948&r2=27949&view=diff
==============================================================================
--- trunk/src/help.cpp (original)
+++ trunk/src/help.cpp Sat Jul 12 21:23:17 2008
@@ -1073,10 +1073,6 @@
                                // use untranslated name to have universal 
topic id
                                const std::string special = sp_it->base_str();
 
-                               //some abilities like plague can be in the form 
ability(argument)
-                               //make sure we cut off the argument
-                               //NOTE: really? Seems to be used in id not name
-                               // 
special.erase(std::find(special.begin(),special.end(),'('),special.end());
                                if (special.empty())
                                        continue;
 


_______________________________________________
Wesnoth-commits mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-commits

Reply via email to