[Entities] Fix model selection

This commit is contained in:
momo5502 2017-03-27 14:15:09 +02:00
parent c02eede3f4
commit 13eb5ba831

View File

@ -35,7 +35,7 @@ namespace Utils
{ {
std::string model = entity["model"]; std::string model = entity["model"];
if(!model.empty() && model[0] != '*') // Skip brushmodels if(!model.empty() && model[0] != '*' && model[0] != '?') // Skip brushmodels
{ {
if (std::find(models.begin(), models.end(), model) == models.end()) if (std::find(models.begin(), models.end(), model) == models.end())
{ {