output warning for problematic map model config parameters

This commit is contained in:
ac-stef
2015-05-27 15:47:05 +02:00
parent 84871a13f1
commit 4117ff73d7
+1
View File
@@ -289,6 +289,7 @@ model *loadmodel(const char *name, int i, bool trydl) // load model by name
{
mdllookup.access(m->name(), m);
setmodelattributes(m->name(), loadingattributes);
if(m->shadowdist && !m->cullface) conoutf("\f3mapmodel config error: disabling face culling in combination with shadows will cause visual errors (%s)", m->name());
}
loadingmodel = NULL;
}