Fixed C4 hud

This commit is contained in:
Kamay Xutax 2024-09-20 22:10:14 +02:00
parent 80bb56275c
commit 3894bf0b3e

View file

@ -4321,11 +4321,12 @@ void C_BaseEntity::CalcAbsolutePosition( )
}
// TODO_ENHANCED: this should be safe to remove.
// if ( IsEffectActive(EF_BONEMERGE) )
// {
// MoveToAimEnt();
// return;
// }
// Not safe to remove this breaks C4 HUD.
if ( IsEffectActive(EF_BONEMERGE) )
{
MoveToAimEnt();
return;
}
// Construct the entity-to-world matrix
// Start with making an entity-to-parent matrix