fix CBaseAnimating::TestHitboxes

This commit is contained in:
wjxggg 2025-01-11 21:46:28 +08:00
parent 326e3665a6
commit f834704bc2
2 changed files with 4 additions and 2 deletions

View File

@ -4981,9 +4981,10 @@ bool C_BaseAnimating::TestHitboxes( const Ray_t &ray, unsigned int fContentsMask
VPhysicsSetObject( pReplace );
}
}
return true;
}
return true;
return false;
}

View File

@ -2693,9 +2693,10 @@ bool CBaseAnimating::TestHitboxes( const Ray_t &ray, unsigned int fContentsMask,
tr.surface.name = "**studio**";
tr.surface.flags = SURF_HITBOX;
tr.surface.surfaceProps = physprops->GetSurfaceIndex( pBone->pszSurfaceProp() );
}
return true;
}
return false;
}
void CBaseAnimating::InitBoneControllers ( void ) // FIXME: rename
{