]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Make casings less bouncy 746/head
authorterencehill <piuntn@gmail.com>
Fri, 18 Oct 2019 18:24:24 +0000 (20:24 +0200)
committerterencehill <piuntn@gmail.com>
Fri, 18 Oct 2019 18:24:24 +0000 (20:24 +0200)
qcsrc/common/effects/qc/casings.qc

index 515d903238d9004a98d7fbad67fc5117b125fc1b..359d3d8a532641c82a189b7d37855d1ec6293b3d 100644 (file)
@@ -156,6 +156,7 @@ NET_HANDLE(casings, bool isNew)
     casing.velocity = casing.velocity + 2 * prandomvec();
     casing.avelocity = '0 250 0' + 100 * prandomvec();
     set_movetype(casing, MOVETYPE_BOUNCE);
+    casing.bouncefactor = 0.25;
     settouch(casing, Casing_Touch);
     casing.move_time = time;
     casing.event_damage = Casing_Damage;