From 808959328acbed8467fb8feb25341bb924dfd529 Mon Sep 17 00:00:00 2001 From: Magnus Auvinen Date: Sun, 9 Dec 2007 13:51:55 +0000 Subject: fixed the shotgun spread --- src/game/client/game_client.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/game/client/game_client.cpp') diff --git a/src/game/client/game_client.cpp b/src/game/client/game_client.cpp index 25a9fdc4..32a98cc5 100644 --- a/src/game/client/game_client.cpp +++ b/src/game/client/game_client.cpp @@ -939,6 +939,9 @@ static void render_projectile(const obj_projectile *prev, const obj_projectile * // get positions float gravity = -400; + if(current->type != WEAPON_ROCKET) + gravity = -100; + float ct = (client_tick()-current->start_tick)/(float)SERVER_TICK_SPEED + client_intratick()*1/(float)SERVER_TICK_SPEED; vec2 startpos(current->x, current->y); vec2 startvel(current->vx, current->vy); -- cgit 1.4.1