summaryrefslogtreecommitdiff
path: root/src/game/g_mover.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_mover.c')
-rw-r--r--src/game/g_mover.c2
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 );