From: Mario Date: Fri, 24 Jun 2016 09:36:01 +0000 (+1000) Subject: Reset raptor velocity when entering (possible fix for strafe takeoffs) X-Git-Tag: xonotic-v0.8.2~700^2~130 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=aa25c86c3b04869f57de5d8519c7b75282b960b9;p=xonotic%2Fxonotic-data.pk3dir.git Reset raptor velocity when entering (possible fix for strafe takeoffs) --- 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;