1
0
Fork 0
forked from fte/fteqw

added nodraw2. exactly the same as nodraw except that q3map2 doesn't understand it. this allows it to be used with 'surfaceparm meshcollide' for solid invisible surfaces.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4684 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2014-06-08 20:27:35 +00:00
parent d143045118
commit 4405abcc93

View file

@ -797,6 +797,8 @@ static void Shader_SurfaceParm ( shader_t *shader, shaderpass_t *pass, char **pt
token = Shader_ParseString ( ptr );
if ( !Q_stricmp( token, "nodraw" ) )
shader->flags |= SHADER_NODRAW;
else if ( !Q_stricmp( token, "nodraw2" ) )
shader->flags |= SHADER_NODRAW;
else if ( !Q_stricmp( token, "nodlight" ) )
shader->flags |= SHADER_NODLIGHT;
}