mirror of
https://github.com/nzp-team/fteqw.git
synced 2024-11-26 05:41:52 +00:00
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:
parent
b6fc034302
commit
b04b7b2b0a
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue