mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-21 01:15:32 +00:00
Removed unused function team::remove_recruit.
This commit is contained in:
parent
2857312da0
commit
52a3198c8e
@ -307,13 +307,6 @@ void team::lose_village(const map_location& loc)
|
||||
}
|
||||
}
|
||||
|
||||
void team::remove_recruit(const std::string& recruit)
|
||||
{
|
||||
info_.can_recruit.erase(recruit);
|
||||
info_.average_price = 0;
|
||||
ai::manager::raise_recruit_list_changed();
|
||||
}
|
||||
|
||||
void team::set_recruits(const std::set<std::string>& recruits)
|
||||
{
|
||||
info_.can_recruit = recruits;
|
||||
|
@ -153,7 +153,6 @@ public:
|
||||
const std::set<std::string>& recruits() const
|
||||
{ return info_.can_recruit; }
|
||||
void add_recruit(const std::string &);
|
||||
void remove_recruit(const std::string& recruits);
|
||||
void set_recruits(const std::set<std::string>& recruits);
|
||||
const std::string& name() const
|
||||
{ return info_.name; }
|
||||
|
Loading…
x
Reference in New Issue
Block a user