From 8b45b55143c9755789519676443905c551d5366a Mon Sep 17 00:00:00 2001 From: Molgrum Date: Mon, 20 Aug 2007 00:53:55 +0000 Subject: [PATCH] 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 --- engine/client/cl_ents.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/engine/client/cl_ents.c b/engine/client/cl_ents.c index e46595455..a8f9e7411 100644 --- a/engine/client/cl_ents.c +++ b/engine/client/cl_ents.c @@ -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];