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:
parent
6e29a0f57c
commit
08b77e359e
1 changed files with 0 additions and 4 deletions
|
@ -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;
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue