diff --git a/Classes/ST_Mutator.uc b/Classes/ST_Mutator.uc index 28262d7..e26c3c1 100644 --- a/Classes/ST_Mutator.uc +++ b/Classes/ST_Mutator.uc @@ -437,6 +437,9 @@ function bool CheckHeadShot(Pawn P, vector HitLocation, vector Direction) { 0 ); + if (HeadHalfHeight <= 0.0) + return false; + CollChecker.SetCollision(true, false, false); CollChecker.SetCollisionSize(WeaponSettings.HeadRadius, WeaponSettings.HeadHalfHeight); CollChecker.SetLocation(P.Location + vect(0,0,1)*(BodyOffsetZ + BodyHalfHeight + HeadHalfHeight));