From 4117ff73d7dea514798c751767e9d515d707028c Mon Sep 17 00:00:00 2001 From: ac-stef Date: Tue, 19 May 2015 20:43:24 +0200 Subject: [PATCH] output warning for problematic map model config parameters --- source/src/rendermodel.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/source/src/rendermodel.cpp b/source/src/rendermodel.cpp index 6095119a..0f6e35d4 100644 --- a/source/src/rendermodel.cpp +++ b/source/src/rendermodel.cpp @@ -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; }