Module dpmod: Change committed

havoc at icculus.org havoc at icculus.org
Thu Feb 20 03:52:05 EST 2003


Commiter   : havoc
CVSROOT    : /cvs/cvsroot/twilight
Module     : dpmod
Commit time: 2003-02-20 08:52:05 UTC

Log message:

checking for a charge attack now uses visible() instead of enemy_vis (trying to narrow down enemy_vis to eliminate it)

Modified files:
     qc/m_hknight.qc

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

Index: dpmod/qc/m_hknight.qc
diff -u dpmod/qc/m_hknight.qc:1.1.1.1 dpmod/qc/m_hknight.qc:1.2
--- dpmod/qc/m_hknight.qc:1.1.1.1	Thu Sep 19 15:07:54 2002
+++ dpmod/qc/m_hknight.qc	Thu Feb 20 03:51:54 2003
@@ -305,7 +305,7 @@
 void() CheckForCharge =
 {
 	// check for mad charge
-	if (!enemy_vis)
+	if (!visible(self.enemy))
 		return;
 	if (time < self.attack_finished)
 		return;


More information about the twilight-commits mailing list