summaryrefslogtreecommitdiff
path: root/src/game/g_active.c
diff options
context:
space:
mode:
authorTim Angus <tim@ngus.net>2001-06-23 20:44:54 +0000
committerTim Angus <tim@ngus.net>2001-06-23 20:44:54 +0000
commitbe48c257834436e7adc2b20540da105a13b68688 (patch)
treec086cbb12c0d768b788819a876ddbf2dc247f606 /src/game/g_active.c
parent1b4dc4940ed0c844a3bb30cff551c9465be859c6 (diff)
Various tweaks and additions. Additive lights hacked in (pre-source 1.29 release)
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r--src/game/g_active.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index e0a3654a..cc504339 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -827,18 +827,18 @@ void ClientThink_real( gentity_t *ent ) {
if( ( client->ps.stats[ STAT_STATE ] & SS_SPEEDBOOST ) && ucmd->upmove >= 0 )
{
//subtract stamina
- client->ps.stats[ STAT_STAMINA ] -= dTime/6.0f;
+ client->ps.stats[ STAT_STAMINA ] -= dTime/9.0f;
}
if( ( aForward <= 64 && aForward > 5 ) || ( aRight <= 64 && aRight > 5 ) )
{
//restore stamina
- client->ps.stats[ STAT_STAMINA ] += dTime/4.0f;
+ client->ps.stats[ STAT_STAMINA ] += dTime/6.0f;
}
else if( aForward <= 5 && aRight <= 5 )
{
//restore stamina faster
- client->ps.stats[ STAT_STAMINA ] += dTime/6.0f;
+ client->ps.stats[ STAT_STAMINA ] += dTime/9.0f;
}
// set up for pmove