From 4fd640c7050cd1ba8b64e54fe743def3f6712244 Mon Sep 17 00:00:00 2001 From: Joel de Vahl Date: Thu, 27 Dec 2007 17:46:32 +0000 Subject: new experimental weapon --- src/game/client/gc_client.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/game/client') diff --git a/src/game/client/gc_client.cpp b/src/game/client/gc_client.cpp index 817638b0..5e769d69 100644 --- a/src/game/client/gc_client.cpp +++ b/src/game/client/gc_client.cpp @@ -972,6 +972,8 @@ static void render_projectile(const obj_projectile *prev, const obj_projectile * float gravity = -400; if(current->type != WEAPON_ROCKET) gravity = -100; + if(current->type == WEAPON_BOMB) + gravity = 0; float ct = (client_tick()-current->start_tick)/(float)SERVER_TICK_SPEED + client_ticktime()*1/(float)SERVER_TICK_SPEED; vec2 startpos(current->x, current->y); -- cgit 1.4.1