diff options
| author | Joel de Vahl <joel@stalverk80.se> | 2007-12-27 17:46:32 +0000 |
|---|---|---|
| committer | Joel de Vahl <joel@stalverk80.se> | 2007-12-27 17:46:32 +0000 |
| commit | 4fd640c7050cd1ba8b64e54fe743def3f6712244 (patch) | |
| tree | ef067f8d6c341efee5f1a0264f78fa346cde81b6 /src/game/client | |
| parent | e59ef41843b53378a91f147e74255f6fe874d237 (diff) | |
| download | zcatch-4fd640c7050cd1ba8b64e54fe743def3f6712244.tar.gz zcatch-4fd640c7050cd1ba8b64e54fe743def3f6712244.zip | |
new experimental weapon
Diffstat (limited to 'src/game/client')
| -rw-r--r-- | src/game/client/gc_client.cpp | 2 |
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); |