From 5f4a0cf2088243f3b0838d822f141d2ec541c0f1 Mon Sep 17 00:00:00 2001 From: Christoph Oelckers Date: Thu, 1 Sep 2022 17:27:44 +0200 Subject: [PATCH] - removed bogus velocity code for RRRA's empty bike and boat. --- source/games/duke/src/player_r.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/source/games/duke/src/player_r.cpp b/source/games/duke/src/player_r.cpp index eb00229ee..a4f355f2d 100644 --- a/source/games/duke/src/player_r.cpp +++ b/source/games/duke/src/player_r.cpp @@ -4106,8 +4106,6 @@ void OffMotorcycle(player_struct *p) if (spawned) { spawned->spr.angle = p->angle.ang; - spawned->add_int_xvel( p->angle.ang.Cos() * (1 << 7)); - spawned->spr.yvel += p->angle.ang.Sin() * (1 << 7); spawned->saved_ammo = p->ammo_amount[MOTORCYCLE_WEAPON]; } } @@ -4171,8 +4169,6 @@ void OffBoat(player_struct *p) if (spawned) { spawned->spr.angle = p->angle.ang; - spawned->add_int_xvel( p->angle.ang.Cos() * (1 << 7)); - spawned->spr.yvel += p->angle.ang.Sin() * (1 << 7); spawned->saved_ammo = p->ammo_amount[BOAT_WEAPON]; } }