diff options
author | M. Kristall <mkpdev@gmail.com> | 2011-01-10 21:37:03 +0000 |
---|---|---|
committer | Tim Angus <tim@ngus.net> | 2013-01-03 00:17:50 +0000 |
commit | bb4db330cb3f223ee786a57cfd2b603c1bfa053e (patch) | |
tree | 68079fe3dc0abc170bc70d48d191f077d2cd2958 /src/game/g_mover.c | |
parent | c84830d8405dbd2fd262a302d8ec8af2579ad5cc (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_mover.c')
-rw-r--r-- | src/game/g_mover.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_mover.c b/src/game/g_mover.c index ad660d0a..48f3c37b 100644 --- a/src/game/g_mover.c +++ b/src/game/g_mover.c @@ -2456,7 +2456,7 @@ void SP_func_pendulum( gentity_t *ent ) if( length < 8 ) length = 8; - freq = 1 / ( M_PI * 2 ) * sqrt( g_gravity.value / ( 3 * length ) ); + freq = 1 / ( M_PI * 2 ) * sqrt( level.gravity / ( 3 * length ) ); ent->s.pos.trDuration = ( 1000 / freq ); |