From ade61ba16bcaa053255d8564f6ed45cfb72df13f Mon Sep 17 00:00:00 2001 From: /dev/humancontroller Date: Thu, 13 Apr 2017 11:30:00 +0000 Subject: remove the "poison running out" blinking functionality the real reason behind this is to avoid changing the playerstate's boosttime stat almost every frame --- src/game/g_active.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/game/g_active.c') diff --git a/src/game/g_active.c b/src/game/g_active.c index bfbec2a..4aa38cb 100644 --- a/src/game/g_active.c +++ b/src/game/g_active.c @@ -1682,8 +1682,6 @@ void ClientThink_real( gentity_t *ent ) client->lastSlowTime + ABUILDER_BLOB_TIME < level.time ) client->ps.stats[ STAT_STATE ] &= ~SS_SLOWLOCKED; - client->ps.stats[ STAT_BOOSTTIME ] = level.time - client->lastBoostedTime; - if( client->ps.stats[ STAT_STATE ] & SS_BOOSTED && client->lastBoostedTime + BOOST_TIME < level.time ) client->ps.stats[ STAT_STATE ] &= ~SS_BOOSTED; -- cgit