mirror of
https://github.com/nillerusr/source-engine.git
synced 2025-03-13 06:01:53 +00:00
fix CBaseAnimating::TestHitboxes
This commit is contained in:
parent
326e3665a6
commit
f834704bc2
@ -4981,9 +4981,10 @@ bool C_BaseAnimating::TestHitboxes( const Ray_t &ray, unsigned int fContentsMask
|
|||||||
VPhysicsSetObject( pReplace );
|
VPhysicsSetObject( pReplace );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
@ -2693,9 +2693,10 @@ bool CBaseAnimating::TestHitboxes( const Ray_t &ray, unsigned int fContentsMask,
|
|||||||
tr.surface.name = "**studio**";
|
tr.surface.name = "**studio**";
|
||||||
tr.surface.flags = SURF_HITBOX;
|
tr.surface.flags = SURF_HITBOX;
|
||||||
tr.surface.surfaceProps = physprops->GetSurfaceIndex( pBone->pszSurfaceProp() );
|
tr.surface.surfaceProps = physprops->GetSurfaceIndex( pBone->pszSurfaceProp() );
|
||||||
}
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
return false;
|
||||||
|
}
|
||||||
|
|
||||||
void CBaseAnimating::InitBoneControllers ( void ) // FIXME: rename
|
void CBaseAnimating::InitBoneControllers ( void ) // FIXME: rename
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user