Fix missing default textures on rbsp maps.
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@4066 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
fe4e66ee1b
commit
e2a5138e77
1 changed files with 0 additions and 3 deletions
|
@ -2833,7 +2833,6 @@ qboolean CModRBSP_LoadRFaces (lump_t *l)
|
|||
int count;
|
||||
int surfnum;
|
||||
|
||||
int numverts, numindexes;
|
||||
int fv;
|
||||
int j;
|
||||
|
||||
|
@ -2890,7 +2889,6 @@ qboolean CModRBSP_LoadRFaces (lump_t *l)
|
|||
if (loadmodel->texinfo[in->shadernum].flags & TI_SKY)
|
||||
out->flags |= SURF_DRAWSKY;
|
||||
|
||||
#ifdef Q3SHADERS
|
||||
if (!out->texinfo->texture->shader)
|
||||
{
|
||||
extern cvar_t r_vertexlight;
|
||||
|
@ -2908,7 +2906,6 @@ qboolean CModRBSP_LoadRFaces (lump_t *l)
|
|||
out->fog = NULL;
|
||||
else
|
||||
out->fog = map_fogs + in->fognum;
|
||||
#endif
|
||||
|
||||
if (map_surfaces[LittleLong(in->shadernum)].c.flags & (Q3SURF_NODRAW | Q3SURF_SKIP))
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue