From 3894bf0b3ee3db7929f0ec35ac3738ef2ffa4215 Mon Sep 17 00:00:00 2001 From: Kamay Xutax Date: Fri, 20 Sep 2024 22:10:14 +0200 Subject: [PATCH] Fixed C4 hud --- game/client/c_baseentity.cpp | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/game/client/c_baseentity.cpp b/game/client/c_baseentity.cpp index 6079611f85..0394a17ab5 100644 --- a/game/client/c_baseentity.cpp +++ b/game/client/c_baseentity.cpp @@ -4320,12 +4320,13 @@ void C_BaseEntity::CalcAbsolutePosition( ) return; } - // TODO_ENHANCED: this should be safe to remove. - // if ( IsEffectActive(EF_BONEMERGE) ) - // { - // MoveToAimEnt(); - // return; - // } + // TODO_ENHANCED: this should be safe to remove. + // 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