diff options
author | Tim Angus <tim@ngus.net> | 2001-07-11 02:40:40 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2001-07-11 02:40:40 +0000 |
commit | 2ab1eefdb54b0d4a82001b3d87158d7fa876bdf4 (patch) | |
tree | 68a67c2f0f644cf87571053c28faaf8e42421842 /src/game/g_active.c | |
parent | 38095b5c02e3c9ab5cd45f817837f06b1da67ef2 (diff) |
Grabbing now works
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r-- | src/game/g_active.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c index 69007011..86dd5148 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -762,6 +762,9 @@ void ClientThink_real( gentity_t *ent ) { else client->ps.pm_type = PM_NORMAL; + if( client->ps.stats[ STAT_STATE ] & SS_GRABBED && client->lastGrabTime + 500 < level.time ) + client->ps.stats[ STAT_STATE ] &= ~SS_GRABBED; + client->ps.gravity = g_gravity.value; // set speed |