1
0
Fork 0
forked from fte/fteqw

Killed a warning here, I assume that Mod_GetTag is _never_ null.

git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@2595 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
Molgrum 2007-08-20 00:53:55 +00:00
parent d1907666fb
commit 8b45b55143

View file

@ -1301,7 +1301,7 @@ void CL_RotateAroundTag(entity_t *ent, int num, int tagent, int tagnum)
VectorInverse(axis[1]);
frame2ness = CL_EntLerpFactor(tagent);
if (Mod_GetTag && Mod_GetTag(cl.model_precache[model], tagnum, frame, frame2, frame2ness, cl.time - cl.lerpents[tagent].framechange, cl.time - cl.lerpents[tagent].oldframechange, transform))
if (Mod_GetTag(cl.model_precache[model], tagnum, frame, frame2, frame2ness, cl.time - cl.lerpents[tagent].framechange, cl.time - cl.lerpents[tagent].oldframechange, transform))
{
old[0] = ent->axis[0][0];
old[1] = ent->axis[1][0];