From: Mario Date: Fri, 10 Mar 2017 21:50:41 +0000 (+1000) Subject: Set the solidity and movetype on raptor's bomb marker, potentially improving its... X-Git-Tag: xonotic-v0.8.2~96 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=7e2cdbde29a72924275dd9002a158a8ef76c850f;p=xonotic%2Fxonotic-data.pk3dir.git Set the solidity and movetype on raptor's bomb marker, potentially improving its accuracy --- diff --git a/qcsrc/common/vehicles/vehicle/raptor.qc b/qcsrc/common/vehicles/vehicle/raptor.qc index b05dd9812..78fdba511 100644 --- a/qcsrc/common/vehicles/vehicle/raptor.qc +++ b/qcsrc/common/vehicles/vehicle/raptor.qc @@ -777,6 +777,9 @@ METHOD(Raptor, vr_crosshair, void(Raptor thisveh, entity player)) dropmark = spawn(); dropmark.owner = player; dropmark.gravity = 1; + dropmark.dphitcontentsmask = DPCONTENTS_SOLID; + dropmark.solid = SOLID_CORPSE; + set_movetype(dropmark, MOVETYPE_BOUNCE); } float reload2 = STAT(VEHICLESTAT_RELOAD2) * 0.01;