From 36c34416af9974798a7cb60cf27dcf2c7ec17c6d Mon Sep 17 00:00:00 2001 From: IronClawTrem Date: Fri, 6 Mar 2020 19:16:27 +0000 Subject: make unlagged predict basi grab --- src/game/g_weapon.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/game/g_weapon.c b/src/game/g_weapon.c index 316124c..3f7c65b 100644 --- a/src/game/g_weapon.c +++ b/src/game/g_weapon.c @@ -970,7 +970,10 @@ void CheckGrabAttack( gentity_t *ent ) VectorMA( muzzle, LEVEL1_GRAB_RANGE, forward, end ); + G_UnlaggedOn( ent, muzzle, LEVEL1_GRAB_RANGE ); trap_Trace( &tr, muzzle, NULL, NULL, end, ent->s.number, MASK_SHOT ); + G_UnlaggedOff( ); + if( tr.surfaceFlags & SURF_NOIMPACT ) return; -- cgit