about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authorJoel de Vahl <joel@stalverk80.se>2007-12-27 17:46:32 +0000
committerJoel de Vahl <joel@stalverk80.se>2007-12-27 17:46:32 +0000
commit4fd640c7050cd1ba8b64e54fe743def3f6712244 (patch)
treeef067f8d6c341efee5f1a0264f78fa346cde81b6 /src/game/client
parente59ef41843b53378a91f147e74255f6fe874d237 (diff)
downloadzcatch-4fd640c7050cd1ba8b64e54fe743def3f6712244.tar.gz
zcatch-4fd640c7050cd1ba8b64e54fe743def3f6712244.zip
new experimental weapon
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/gc_client.cpp2
1 files changed, 2 insertions, 0 deletions
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);