]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Set the solidity and movetype on raptor's bomb marker, potentially improving its...
authorMario <mario@smbclan.net>
Fri, 10 Mar 2017 21:50:41 +0000 (07:50 +1000)
committerMario <mario@smbclan.net>
Fri, 10 Mar 2017 21:50:41 +0000 (07:50 +1000)
qcsrc/common/vehicles/vehicle/raptor.qc

index b05dd9812e4443e6332e5d81d9364b9f3b6246f9..78fdba5117148f9196ddbec467809503c8f23bfe 100644 (file)
@@ -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;