summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIronClawTrem <louie.nutman@gmail.com>2020-03-06 19:16:27 +0000
committerIronClawTrem <louie.nutman@gmail.com>2020-03-06 22:02:20 +0000
commit36c34416af9974798a7cb60cf27dcf2c7ec17c6d (patch)
treeebb8f0c2175efe8495a2811d78d40df5eb37de63
parentf6b01d22c50ad6434493e4fec516477f4c9281be (diff)
make unlagged predict basi grab
-rw-r--r--src/game/g_weapon.c3
1 files changed, 3 insertions, 0 deletions
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;