summaryrefslogtreecommitdiff
path: root/src/game/g_trigger.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/game/g_trigger.c')
-rw-r--r--src/game/g_trigger.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/game/g_trigger.c b/src/game/g_trigger.c
index 0985b0f1..65bf1bd1 100644
--- a/src/game/g_trigger.c
+++ b/src/game/g_trigger.c
@@ -185,7 +185,7 @@ void AimAtTarget( gentity_t *self )
}
height = ent->s.origin[ 2 ] - origin[ 2 ];
- gravity = level.gravity;
+ gravity = g_gravity.value;
time = sqrt( height / ( 0.5 * gravity ) );
if( !time )