Fixed #1003. Avoid crash when mask file is missing.

git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14240 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
deveee 2013-10-12 15:13:39 +00:00
parent 69ade056dd
commit d8cfc75557

View File

@ -778,7 +778,6 @@ void Material::install(bool is_full_path, bool complain_if_not_found)
{
fprintf(stderr, "Applying mask failed for '%s'!\n",
m_texname.c_str());
return;
}
}
m_texture->grab();