gui/unit_recruit: Add unit type level number as a filtering criterion
The Recall dialog already did this, but Recruit did not.
This commit is contained in:
parent
df4039d593
commit
854b812ed4
1 changed files with 1 additions and 0 deletions
|
@ -88,6 +88,7 @@ void unit_recruit::filter_text_changed(const std::string& text)
|
|||
auto criteria = std::make_tuple(
|
||||
(game_config::debug ? type->id() : ""),
|
||||
type->type_name(),
|
||||
std::to_string(type->level()),
|
||||
unit_type::alignment_description(type->alignment(), default_gender),
|
||||
(race ? race->name(default_gender) : ""),
|
||||
(race ? race->plural_name() : "")
|
||||
|
|
Loading…
Add table
Reference in a new issue