From 4aa44bf21dcc38987623628aa35f340aed93b2f7 Mon Sep 17 00:00:00 2001 From: Mario Date: Wed, 15 Jan 2020 02:52:04 +1000 Subject: [PATCH 1/1] Fix raptor landing not taking the full time with very high ticrates --- qcsrc/common/vehicles/vehicle/raptor.qc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/common/vehicles/vehicle/raptor.qc b/qcsrc/common/vehicles/vehicle/raptor.qc index e9f7f7333d..f0c4dc1ec7 100644 --- a/qcsrc/common/vehicles/vehicle/raptor.qc +++ b/qcsrc/common/vehicles/vehicle/raptor.qc @@ -453,7 +453,7 @@ bool raptor_takeoff(entity this, float dt) // Takeoff sequense if(vehic.frame < 25) { - vehic.frame += 25 / (autocvar_g_vehicle_raptor_takeofftime / PHYS_INPUT_FRAMETIME); + vehic.frame += 25 / (autocvar_g_vehicle_raptor_takeofftime / dt); vehic.velocity_z = min(vehic.velocity_z * 1.5, 256); vehic.bomb1.gun1.avelocity_y = 90 + ((vehic.frame / 25) * 25000); vehic.bomb1.gun2.avelocity_y = -vehic.bomb1.gun1.avelocity_y; -- 2.39.2