1
0
Fork 0
forked from fte/fteqw

Fix wastes builds.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5606 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2020-01-20 18:38:50 +00:00
parent ffda35fae4
commit 1c2026c055

View file

@ -3072,6 +3072,7 @@ void Mod_LoadAliasShaders(model_t *mod)
char alttexpath[MAX_QPATH]; char alttexpath[MAX_QPATH];
uploadfmt_t skintranstype; uploadfmt_t skintranstype;
char *slash; char *slash;
#ifdef MD1MODELS
#ifdef HEXEN2 #ifdef HEXEN2
if (mod->flags & MFH2_TRANSPARENT) if (mod->flags & MFH2_TRANSPARENT)
skintranstype = TF_H2_T7G1; //hexen2 skintranstype = TF_H2_T7G1; //hexen2
@ -3089,6 +3090,7 @@ void Mod_LoadAliasShaders(model_t *mod)
skintranstype = TF_H2_T4A4; //hexen2 skintranstype = TF_H2_T4A4; //hexen2
#endif #endif
else else
#endif
skintranstype = TF_SOLID8; skintranstype = TF_SOLID8;
COM_FileBase(mod->name, basename, sizeof(basename)); COM_FileBase(mod->name, basename, sizeof(basename));