decal:predraw: return PREDRAW_NEXT when no shader is set.

This commit is contained in:
Marco Cawthorne 2020-09-26 12:42:32 +02:00
parent 8167204479
commit a9853f79cf

View file

@ -84,7 +84,7 @@ decal::predraw(void)
/* skip empty decals */
if (!dcl.m_strShader)
return;
return PREDRAW_NEXT;
/* don't draw us, unnecessary */
/*if (checkpvs(getproperty(VF_ORIGIN), this) == FALSE) {