From b678677fe374b9ae4f591cbf23ca62a19f890722 Mon Sep 17 00:00:00 2001 From: divverent Date: Fri, 6 Feb 2009 14:48:41 +0000 Subject: [PATCH] fix a possible bug with zym model animation (this looks like a typo, and fixing it makes the shotgun anim in nexuiz appear more consistent) git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@8694 d7cf8633-e32d-0410-b094-e92efae38249 --- r_lerpanim.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/r_lerpanim.c b/r_lerpanim.c index 646033e1..9497ccf9 100644 --- a/r_lerpanim.c +++ b/r_lerpanim.c @@ -112,7 +112,7 @@ void R_LerpAnimation(entity_render_t *r) if (scene->framecount > 1) { - sublerp = scene->framerate * (cl.time - r->frame1time); + sublerp = scene->framerate * (cl.time - r->frame2time); sub1 = (int) (sublerp); sub2 = sub1 + 1; sublerp -= sub1; -- 2.39.2