From 4b390909f2171f5163d496171a39c0e94203e9cb Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 1 Feb 2012 20:03:16 +0900 Subject: [PATCH] Move r_gravity to it's rightful home. r_part.c makes much more sense. --- libs/video/renderer/r_part.c | 1 + nq/source/cl_parse.c | 1 - qw/source/cl_parse.c | 2 -- 3 files changed, 1 insertion(+), 3 deletions(-) diff --git a/libs/video/renderer/r_part.c b/libs/video/renderer/r_part.c index 68bb2c009..6d43801be 100644 --- a/libs/video/renderer/r_part.c +++ b/libs/video/renderer/r_part.c @@ -43,6 +43,7 @@ static __attribute__ ((used)) const char rcsid[] = unsigned int r_maxparticles, numparticles; particle_t *active_particles, *free_particles, *particles, **freeparticles; vec3_t r_pright, r_pup, r_ppn; +float r_gravity; void (*R_RocketTrail) (const struct entity_s *ent); void (*R_GrenadeTrail) (const struct entity_s *ent); diff --git a/nq/source/cl_parse.c b/nq/source/cl_parse.c index d1b7b9eca..6bbd267c7 100644 --- a/nq/source/cl_parse.c +++ b/nq/source/cl_parse.c @@ -120,7 +120,6 @@ const char *svc_strings[] = { "svc_spawnstaticsound2", }; -float r_gravity; dstring_t *centerprint; static void diff --git a/qw/source/cl_parse.c b/qw/source/cl_parse.c index ccf17bb20..72ccbaa62 100644 --- a/qw/source/cl_parse.c +++ b/qw/source/cl_parse.c @@ -170,8 +170,6 @@ int cl_h_playerindex, cl_gib1index, cl_gib2index, cl_gib3index; int packet_latency[NET_TIMINGS]; -float r_gravity; - extern cvar_t *hud_scoreboard_uid; entity_t *cl_static_entities;