r5969 - trunk/data/qcsrc/server
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Wed Feb 25 11:35:56 EST 2009
Author: avirox
Date: 2009-02-25 11:35:56 -0500 (Wed, 25 Feb 2009)
New Revision: 5969
Modified:
trunk/data/qcsrc/server/func_breakable.qc
Log:
- Breakables should be destroyed when health == 0, not under 0
Modified: trunk/data/qcsrc/server/func_breakable.qc
===================================================================
--- trunk/data/qcsrc/server/func_breakable.qc 2009-02-25 16:26:15 UTC (rev 5968)
+++ trunk/data/qcsrc/server/func_breakable.qc 2009-02-25 16:35:56 UTC (rev 5969)
@@ -153,7 +153,7 @@
self.health = self.health - damage;
func_breakable_colormod();
- if(self.health < 0)
+ if(self.health < 1)
W_PrepareExplosionByDamage(attacker, func_breakable_destroy);
}
More information about the nexuiz-commits
mailing list