Renamed the [recall_filter] tag to [filter_recall].
This commit is contained in:
parent
99f15ffae5
commit
02327bd9eb
2 changed files with 2 additions and 2 deletions
|
@ -479,7 +479,7 @@ unit::unit(const config &cfg, bool use_traits, game_state* state) :
|
|||
}
|
||||
|
||||
set_recruits(utils::split(cfg["extra_recruit"]));
|
||||
cfg_.add_child("recall_filter", cfg.child_or_empty("recall_filter"));
|
||||
cfg_.add_child("filter_recall", cfg.child_or_empty("filter_recall"));
|
||||
|
||||
/** @todo Are these modified by read? if not they can be removed. */
|
||||
getsHit_=0;
|
||||
|
|
|
@ -131,7 +131,7 @@ public:
|
|||
const std::vector<std::string>& recruits() const
|
||||
{ return recruit_list_; }
|
||||
void set_recruits(const std::vector<std::string>& recruits);
|
||||
const config& recall_filter() const { return cfg_.child("recall_filter"); }
|
||||
const config& recall_filter() const { return cfg_.child("filter_recall"); }
|
||||
|
||||
bool incapacitated() const { return get_state(STATE_PETRIFIED); }
|
||||
int total_movement() const { return max_movement_; }
|
||||
|
|
Loading…
Add table
Reference in a new issue