From aa25c86c3b04869f57de5d8519c7b75282b960b9 Mon Sep 17 00:00:00 2001 From: Mario Date: Fri, 24 Jun 2016 19:36:01 +1000 Subject: [PATCH] Reset raptor velocity when entering (possible fix for strafe takeoffs) --- 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 59510c78f..1c4c8a14f 100644 --- a/qcsrc/common/vehicles/vehicle/raptor.qc +++ b/qcsrc/common/vehicles/vehicle/raptor.qc @@ -612,7 +612,7 @@ METHOD(Raptor, vr_enter, void(Raptor thisveh, entity instance)) instance.solid = SOLID_SLIDEBOX; instance.owner.vehicle_health = (instance.vehicle_health / autocvar_g_vehicle_raptor_health) * 100; instance.owner.vehicle_shield = (instance.vehicle_shield / autocvar_g_vehicle_raptor_shield) * 100; - instance.velocity_z = 1; // Nudge upwards to takeoff sequense can work. + instance.velocity = '0 0 1'; // nude upwards so takeoff sequence can work instance.tur_head.exteriormodeltoclient = instance.owner; instance.delay = time + autocvar_g_vehicle_raptor_bombs_refire; -- 2.39.2