[nexuiz-commits] r7781 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Sep 14 07:59:27 EDT 2009


Author: lordhavoc
Date: 2009-09-14 07:59:27 -0400 (Mon, 14 Sep 2009)
New Revision: 7781

Modified:
   trunk/data/qcsrc/server/g_damage.qc
Log:
use less traces for radius damage again, and cap it at 20 (roughly this
means a rocket blast is up to 20 traces)


Modified: trunk/data/qcsrc/server/g_damage.qc
===================================================================
--- trunk/data/qcsrc/server/g_damage.qc	2009-09-14 06:42:17 UTC (rev 7780)
+++ trunk/data/qcsrc/server/g_damage.qc	2009-09-14 11:59:27 UTC (rev 7781)
@@ -1079,7 +1079,7 @@
 						// test line of sight to multiple positions on box,
 						// and do damage if any of them hit
 						hits = 0;
-						total = ceil(bound(1, finaldmg, 50));
+						total = ceil(bound(1, finaldmg*0.2, 20));
 						hitloc = nearest;
 						c = 0;
 						while (c < total)



More information about the nexuiz-commits mailing list