1
0
Fork 0
forked from fte/fteqw

Okay, so it's not really going to fix anything, it's just more correct, and will catch some evilness every now and then, maybe.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2149 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Spoike 2006-04-02 23:43:43 +00:00
parent 02176f8853
commit 4bf50eb704

View file

@ -736,7 +736,7 @@ static qboolean CopyCSQCEdictToEntity(csqcedict_t *in, entity_t *out)
out->skinnum = in->v->skin;
out->fatness = in->v->fatness;
#ifdef Q3SHADERS
if (in->v->forceshader > 0)
if (in->v->forceshader >= 1)
out->forcedshader = r_shaders + ((int)in->v->forceshader-1);
else
out->forcedshader = NULL;