From 2f78a8261bda4700dabc06526131a1f7d35dd123 Mon Sep 17 00:00:00 2001 From: havoc Date: Thu, 10 Nov 2011 17:05:43 +0000 Subject: [PATCH] removed a model->numframes <= 1 check which broke animated models with a single framegroup defined git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@11545 d7cf8633-e32d-0410-b094-e92efae38249 ::stable-branch::merge=8e67c71aad76876663c79a8ae440363cee0646fb --- prvm_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prvm_cmds.c b/prvm_cmds.c index c7df3eef..c5ae138f 100644 --- a/prvm_cmds.c +++ b/prvm_cmds.c @@ -95,7 +95,7 @@ void VM_FrameBlendFromFrameGroupBlend(frameblend_t *frameblend, const framegroup memset(blend, 0, MAX_FRAMEBLENDS * sizeof(*blend)); - if (!model || !model->surfmesh.isanimated || model->numframes <= 1) + if (!model || !model->surfmesh.isanimated) { blend[0].lerp = 1; return; -- 2.39.2