diff options
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r-- | src/game/g_active.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c index 2276962a..f6a76c70 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -871,7 +871,7 @@ void ClientThink_real( gentity_t *ent ) { client->ps.pm_type = PM_NORMAL; if( client->ps.stats[ STAT_STATE ] & SS_GRABBED && - client->lastGrabTime + BG_FindRepeatRateForWeapon( WP_GRAB_CLAW ) + 100 < level.time ) + client->lastGrabTime + 1000 < level.time ) client->ps.stats[ STAT_STATE ] &= ~SS_GRABBED; if( client->ps.stats[ STAT_STATE ] & SS_BLOBLOCKED && @@ -988,6 +988,11 @@ void ClientThink_real( gentity_t *ent ) { pm.autoWeaponHit[ client->ps.weapon ] = CheckVenomAttack( ent ); break; + case WP_GRAB_CLAW: + /*if( client->ps.weaponTime <= 0 )*/ //FIXME: correct decision? + CheckGrabAttack( ent ); + break; + case WP_POUNCE: case WP_POUNCE_UPG: if( client->ps.weaponTime <= 0 ) |