r4036 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Wed Aug 6 03:10:48 EDT 2008


Author: div0
Date: 2008-08-06 03:10:47 -0400 (Wed, 06 Aug 2008)
New Revision: 4036

Modified:
   trunk/data/qcsrc/server/t_items.qc
Log:
let the ITEM play the pickup sound, not the player


Modified: trunk/data/qcsrc/server/t_items.qc
===================================================================
--- trunk/data/qcsrc/server/t_items.qc	2008-08-06 06:33:35 UTC (rev 4035)
+++ trunk/data/qcsrc/server/t_items.qc	2008-08-06 07:10:47 UTC (rev 4036)
@@ -185,7 +185,7 @@
 	if (!pickedup)
 		return;
 
-	sound (other, CHAN_TRIGGER, self.item_pickupsound, VOL_BASE, ATTN_NORM);
+	sound (self, CHAN_TRIGGER, self.item_pickupsound, VOL_BASE, ATTN_NORM);
 
 	oldself = self;
 	self = other;




More information about the nexuiz-commits mailing list