Module dpmod: Change committed

havoc at icculus.org havoc at icculus.org
Tue Jan 20 06:15:59 EST 2004


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : dpmod
Commit time: 2004-01-20 11:15:59 UTC

Log message:

CanDamage tracelines need to use inflictor, not self (thanks to Urre for finding this bug)

Modified files:
     qc/raddamage.qc

------=MIME.8381a942e44ac9d3183b200dc9d827d1
Content-Type: text/plain; name="dpmod.20040120.111559.havoc.diff"
Content-Disposition: attachment; filename="dpmod.20040120.111559.havoc.diff"
Content-Transfer-Encoding: 8bit

Index: dpmod/qc/raddamage.qc
diff -u dpmod/qc/raddamage.qc:1.1.1.1 dpmod/qc/raddamage.qc:1.2
--- dpmod/qc/raddamage.qc:1.1.1.1	Thu Sep 19 15:07:57 2002
+++ dpmod/qc/raddamage.qc	Tue Jan 20 06:15:49 2004
@@ -26,7 +26,7 @@
                 v_x = m1_x + random() * m2_x;
                 v_y = m1_y + random() * m2_y;
                 v_z = m1_z + random() * m2_z;
-                traceline(inflictor.origin, v, FALSE, self);
+                traceline(inflictor.origin, v, FALSE, inflictor);
                 if ((trace_fraction == 1 || trace_ent == targ) && !trace_startsolid)
                 {
                         raddamage_lasthit = trace_endpos;


More information about the twilight-commits mailing list