models
git-svn-id: svn://svn.icculus.org/twilight/trunk/darkplaces@9829
d7cf8633-e32d-0410-b094-
e92efae38249
int SV_GetEntityLocalTagMatrix(prvm_edict_t *ent, int tagindex, matrix4x4_t *out)
{
dp_model_t *model;
- if (tagindex >= 0 && (model = SV_GetModelFromEdict(ent)) && model->num_bones)
+ if (tagindex >= 0 && (model = SV_GetModelFromEdict(ent)) && model->animscenes)
{
VM_GenerateFrameGroupBlend(ent->priv.server->framegroupblend, ent);
VM_FrameBlendFromFrameGroupBlend(ent->priv.server->frameblend, ent->priv.server->framegroupblend, model);