1
0
Fork 0
forked from fte/fteqw

Fix missing chrome effect.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5433 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2019-03-13 02:35:08 +00:00
parent b6fc034302
commit b04b7b2b0a

View file

@ -338,7 +338,8 @@ qboolean QDECL Mod_LoadHLModel (model_t *mod, void *buffer, size_t fsize)
shader = "";
shaders[i].defaultshadertext = shader;
}
shaders[i].defaultshadertext = NULL;
else
shaders[i].defaultshadertext = NULL;
memset(&shaders[i].defaulttex, 0, sizeof(shaders[i].defaulttex));
shaders[i].defaulttex.base = Image_GetTexture(shaders[i].name, "", IF_NOALPHA, (qbyte *) texheader + tex[i].offset, (qbyte *) texheader + tex[i].w * tex[i].h + tex[i].offset, tex[i].w, tex[i].h, TF_8PAL24);
shaders[i].w = tex[i].w;