summaryrefslogtreecommitdiff
path: root/src/game/g_active.c
diff options
context:
space:
mode:
authorM. Kristall <mkpdev@gmail.com>2011-01-10 21:37:03 +0000
committerTim Angus <tim@ngus.net>2013-01-03 00:17:50 +0000
commitbb4db330cb3f223ee786a57cfd2b603c1bfa053e (patch)
tree68079fe3dc0abc170bc70d48d191f077d2cd2958 /src/game/g_active.c
parentc84830d8405dbd2fd262a302d8ec8af2579ad5cc (diff)
* g_disabled* cvars are used by ui but were not communicated to the client
* Don't let maps set {alien,human}BuildPoints since that's probably not good * Let maps set temporary variables instead of cvars (for e.g., gravity)
Diffstat (limited to 'src/game/g_active.c')
-rw-r--r--src/game/g_active.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_active.c b/src/game/g_active.c
index 521d6765..697800f6 100644
--- a/src/game/g_active.c
+++ b/src/game/g_active.c
@@ -1347,7 +1347,7 @@ void ClientThink_real( gentity_t *ent )
client->lastPoisonTime + ALIEN_POISON_TIME < level.time )
client->ps.stats[ STAT_STATE ] &= ~SS_POISONED;
- client->ps.gravity = g_gravity.value;
+ client->ps.gravity = level.gravity;
if( BG_InventoryContainsUpgrade( UP_MEDKIT, client->ps.stats ) &&
BG_UpgradeIsActive( UP_MEDKIT, client->ps.stats ) )