Oops. Fixed 2007-10-29T15:33:47Z!shadowm@wesnoth.org breaking other code.
This commit is contained in:
parent
ba37788f82
commit
682d8ddbaa
2 changed files with 2 additions and 2 deletions
|
@ -354,7 +354,7 @@ void unit::set_game_context(const game_data* gamedata, unit_map* unitmap, const
|
|||
}
|
||||
|
||||
|
||||
void unit::add_trait()
|
||||
void unit::add_trait(std::string /*trait*/)
|
||||
{
|
||||
//modifications_.add_child("trait", cfg);
|
||||
apply_modifications();
|
||||
|
|
|
@ -275,7 +275,7 @@ public:
|
|||
void backup_state();
|
||||
void apply_modifications();
|
||||
void remove_temporary_modifications();
|
||||
void add_trait();
|
||||
void add_trait(std::string /*trait*/);
|
||||
void generate_traits(bool musthaveonly=false);
|
||||
void generate_traits_description();
|
||||
std::string generate_description() const { return race_->generate_name(string_gender(cfg_["gender"])); }
|
||||
|
|
Loading…
Add table
Reference in a new issue