Module dpmod: Change committed
havoc at icculus.org
havoc at icculus.org
Sat Sep 21 06:10:26 EDT 2002
Commiter : havoc
CVSROOT : /cvs/cvsroot/twilight
Module : dpmod
Commit time: 2002-09-21 10:10:26 UTC
Log message:
don't attack corpses and heads
Modified files:
qc/gore.qc
------=MIME.f3dcd39f99032321b772fb1281cd2116
Content-Type: text/plain; name="dpmod.20020921.101026.havoc.diff"
Content-Disposition: attachment; filename="dpmod.20020921.101026.havoc.diff"
Content-Transfer-Encoding: 8bit
Index: dpmod/qc/gore.qc
diff -u dpmod/qc/gore.qc:1.2 dpmod/qc/gore.qc:1.3
--- dpmod/qc/gore.qc:1.2 Fri Sep 20 01:39:18 2002
+++ dpmod/qc/gore.qc Sat Sep 21 06:10:16 2002
@@ -63,6 +63,7 @@
e.view_ofs = '0 0 -1';
e.velocity = vel + randomvec() * 150;
e.movetype = MOVETYPE_BOUNCE;
+ e.havocattack = FALSE;
e.solid = SOLID_NOT;
e.avelocity = randomvec()*300;
e.knockedloosefunc = gibknockedloosefunc;
@@ -231,6 +232,7 @@
local entity saveself;
saveself = self;
self = c;
+ self.havocattack = FALSE;
self.touch = SUB_Null;
self.th_pain = SUB_Null;
self.th_walk = SUB_Null;
More information about the twilight-commits
mailing list