Oops, missed this one.

This commit is contained in:
Mari the Deer 2022-12-10 22:26:48 +01:00
commit 102564c3a9
2 changed files with 4 additions and 4 deletions

View file

@ -480,8 +480,8 @@ extend Class SWWMWeapon
let raging = RagekitPower(FindInventory("RagekitPower"));
if ( flags&MELEE_NoRage ) raging = null;
if ( raging ) rangemul += .2;
Vector3 origin = Vec3Offset(0,0,player.viewheight);
Vector3 dir = SWWMUtility.Vec3FromAngles(angle,pitch);
Vector3 origin = SWWMUtility.GetPlayerEye(self);
Vector3 dir = SWWMUtility.GetPlayerViewDir(self);
// check for usables
if ( !(flags&MELEE_NoUse) )
{