Module dpmod: Change committed
havoc at icculus.org
havoc at icculus.org
Wed Dec 17 08:22:27 EST 2003
Commiter : havoc
CVSROOT : /cvs/cvsroot/twilight
Module : dpmod
Commit time: 2003-12-17 13:22:27 UTC
Log message:
fixed a bug that was causing CheckDemonJump to malfunction (it was forgetting to do makevectors before checking the jump), the fiends are hopping mad again
Modified files:
qc/m_demon.qc
------=MIME.c43353d7de1d2ae1773593ec95655bfe
Content-Type: text/plain; name="dpmod.20031217.132227.havoc.diff"
Content-Disposition: attachment; filename="dpmod.20031217.132227.havoc.diff"
Content-Transfer-Encoding: 8bit
Index: dpmod/qc/m_demon.qc
diff -u dpmod/qc/m_demon.qc:1.3 dpmod/qc/m_demon.qc:1.4
--- dpmod/qc/m_demon.qc:1.3 Wed Jul 16 08:16:45 2003
+++ dpmod/qc/m_demon.qc Wed Dec 17 08:22:16 2003
@@ -78,8 +78,7 @@
ai_face();
self.touch = Demon_JumpTouch;
- makevectors (self.angles);
- self.origin_z = self.origin_z + 1;
+ makevectors (self.angles_y * '0 1 0');
self.velocity = v_forward * 600 + '0 0 250';
if (self.flags & FL_ONGROUND)
self.flags = self.flags - FL_ONGROUND;
@@ -227,6 +226,7 @@
*/
// LordHavoc: do further checking now
+ makevectors (self.angles_y * '0 1 0');
old = self.velocity;
self.velocity = v_forward * 600 + '0 0 250';
tracetoss(self, self);
More information about the twilight-commits
mailing list