diff options
Diffstat (limited to 'src/game/client/game_client.cpp')
| -rw-r--r-- | src/game/client/game_client.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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); |