remove filtering by profile=

brought to you by Xan
This commit is contained in:
Gunter Labes 2006-05-29 18:48:36 +00:00
parent e715d188b9
commit 12b46f3d92

View file

@ -722,9 +722,6 @@ bool unit::matches_filter(const config& cfg,const gamemap::location& loc,bool us
if(description.empty() == false && description != this->underlying_description()) {
return false;
}
if(profile.empty() == false && profile != cfg_["profile"]) {
return false;
}
//allow 'speaker' as an alternative to description, since people use it so often
if(speaker.empty() == false && speaker != this->underlying_description()) {