16
0
mirror of https://github.com/MaSzyna-EU07/maszyna.git synced 2026-07-21 20:39:18 +02:00

launcher: vehicle picker filtering

This commit is contained in:
milek7
2019-09-22 20:50:35 +02:00
parent e043a39b52
commit 8dd71f1fe6
4 changed files with 111 additions and 7 deletions

View File

@@ -182,6 +182,10 @@ std::shared_ptr<ui::skin_meta> ui::vehicles_bank::parse_meta(const std::string &
stream >> meta->rev_year;
}
meta->search_lowered +=
ToLower(meta->name + meta->short_id + meta->location +
meta->rev_date + meta->rev_company + meta->texture_author + meta->photo_author);
return meta;
}