From 8e67c71aad76876663c79a8ae440363cee0646fb 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 --- prvm_cmds.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/prvm_cmds.c b/prvm_cmds.c index 657e4b81..7f1900d9 100644 --- a/prvm_cmds.c +++ b/prvm_cmds.c @@ -96,7 +96,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