Fixed lookup of binary files in user data.

This commit is contained in:
Guillaume Melquiond 2010-01-30 16:43:33 +00:00
parent c1f228c4cb
commit 31aec43939

View file

@ -963,7 +963,7 @@ const std::vector<std::string>& get_binary_paths(const std::string& type)
}
// not found in "/type" directory, try main directory
res.push_back(get_user_data_dir());
res.push_back(get_user_data_dir() + "/");
if(!game_config::path.empty())
res.push_back(game_config::path+"/");