r5971 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Feb 25 11:49:47 EST 2009
Author: div0
Date: 2009-02-25 11:49:46 -0500 (Wed, 25 Feb 2009)
New Revision: 5971
Modified:
trunk/data/qcsrc/server/func_breakable.qc
Log:
not health < 1, but health <= 0
Modified: trunk/data/qcsrc/server/func_breakable.qc
===================================================================
--- trunk/data/qcsrc/server/func_breakable.qc 2009-02-25 16:46:48 UTC (rev 5970)
+++ trunk/data/qcsrc/server/func_breakable.qc 2009-02-25 16:49:46 UTC (rev 5971)
@@ -153,7 +153,7 @@
self.health = self.health - damage;
func_breakable_colormod();
- if(self.health < 1)
+ if(self.health <= 0)
W_PrepareExplosionByDamage(attacker, func_breakable_destroy);
}
More information about the nexuiz-commits
mailing list