From e2a5138e77572604c85e7a48024eddf1b9bf3150 Mon Sep 17 00:00:00 2001 From: Spoike Date: Mon, 9 Jul 2012 00:44:05 +0000 Subject: [PATCH] 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 --- engine/common/gl_q2bsp.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/engine/common/gl_q2bsp.c b/engine/common/gl_q2bsp.c index 23804b3f9..a74fa61b1 100644 --- a/engine/common/gl_q2bsp.c +++ b/engine/common/gl_q2bsp.c @@ -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)) {