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

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Sep 3 13:03:19 EDT 2009


Author: lordhavoc
Date: 2009-09-03 13:03:19 -0400 (Thu, 03 Sep 2009)
New Revision: 7614

Modified:
   trunk/data/qcsrc/server/g_triggers.qc
Log:
fixed a bug which prevented falloff modes from working in directional
trigger_impulse


Modified: trunk/data/qcsrc/server/g_triggers.qc
===================================================================
--- trunk/data/qcsrc/server/g_triggers.qc	2009-09-03 17:01:38 UTC (rev 7613)
+++ trunk/data/qcsrc/server/g_triggers.qc	2009-09-03 17:03:19 UTC (rev 7614)
@@ -1137,7 +1137,7 @@
     other.lastpushtime = time;
     if(!pushdeltatime) return;
 
-    other.velocity = other.velocity + normalize(targ.origin - self.origin) * self.strength * pushdeltatime;
+    other.velocity = other.velocity + normalize(targ.origin - self.origin) * str * pushdeltatime;
 	other.flags &~= FL_ONGROUND;
 }
 



More information about the nexuiz-commits mailing list