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.
This commit is contained in:
Ali El Gariani 2008-07-12 19:23:17 +00:00
parent 6e29a0f57c
commit 08b77e359e

View file

@ -1073,10 +1073,6 @@ std::vector<topic> generate_weapon_special_topics(const bool sort_generated)
// 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;