[nexuiz-commits] r7690 - trunk/data/qcsrc/client
DONOTREPLY at icculus.org
DONOTREPLY at icculus.org
Tue Sep 8 09:06:03 EDT 2009
Author: div0
Date: 2009-09-08 09:06:03 -0400 (Tue, 08 Sep 2009)
New Revision: 7690
Modified:
trunk/data/qcsrc/client/damage.qc
Log:
hopefully fix sound origins for explosions (#521)
Modified: trunk/data/qcsrc/client/damage.qc
===================================================================
--- trunk/data/qcsrc/client/damage.qc 2009-09-08 12:59:16 UTC (rev 7689)
+++ trunk/data/qcsrc/client/damage.qc 2009-09-08 13:06:03 UTC (rev 7690)
@@ -75,8 +75,6 @@
self = oldself;
- setorigin(self, org); // for sound() calls
-
// TODO spawn particle effects and sounds based on hittype
if(!DEATH_ISSPECIAL(hittype))
@@ -97,6 +95,8 @@
else
backoff = -1 * normalize(force);
+ setorigin(self, org + backoff * 2); // for sound() calls
+
switch(hitwep)
{
case WEP_LASER:
More information about the nexuiz-commits
mailing list