summaryrefslogtreecommitdiff
path: root/src/game/g_buildable.c
diff options
context:
space:
mode:
author/dev/humancontroller <devhc@example.com>2017-04-13 11:30:00 +0000
committer/dev/humancontroller <devhc@example.com>2017-04-15 17:24:20 +0200
commita2acd48085c60e956b1cad6a9fa12578acbeec5f (patch)
treec70644eec35e916a25634cfcd74bc18508ee16f0 /src/game/g_buildable.c
parent6928f08f262b38d32c6e4380969f919b5de1bbc3 (diff)
allow replenishing of poison without stupid per-player cooldown delays
Diffstat (limited to 'src/game/g_buildable.c')
-rw-r--r--src/game/g_buildable.c11
1 files changed, 2 insertions, 9 deletions
diff --git a/src/game/g_buildable.c b/src/game/g_buildable.c
index ed243cc..f6a98f6 100644
--- a/src/game/g_buildable.c
+++ b/src/game/g_buildable.c
@@ -1604,15 +1604,8 @@ void ABooster_Touch( gentity_t *self, gentity_t *other, trace_t *trace )
return;
}
- //only allow boostage once every 30 seconds
- if( client->lastBoostedTime + BOOSTER_INTERVAL > level.time )
- return;
-
- if( !( client->ps.stats[ STAT_STATE ] & SS_BOOSTED ) )
- {
- client->ps.stats[ STAT_STATE ] |= SS_BOOSTED;
- client->lastBoostedTime = level.time;
- }
+ client->ps.stats[ STAT_STATE ] |= SS_BOOSTED;
+ client->lastBoostedTime = level.time;
}