r3855 - trunk/data/qcsrc/server

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Jul 21 04:42:43 EDT 2008


Author: tzork
Date: 2008-07-21 04:42:34 -0400 (Mon, 21 Jul 2008)
New Revision: 3855

Modified:
   trunk/data/qcsrc/server/t_plats.qc
Log:
Fix (add) precache_sound for .noisy buttons.

Modified: trunk/data/qcsrc/server/t_plats.qc
===================================================================
--- trunk/data/qcsrc/server/t_plats.qc	2008-07-21 08:38:59 UTC (rev 3854)
+++ trunk/data/qcsrc/server/t_plats.qc	2008-07-21 08:42:34 UTC (rev 3855)
@@ -673,6 +673,9 @@
 	if (!self.lip)
 		self.lip = 4;
 
+    if(self.noise != "")
+        precache_sound(self.noise);
+
 	self.state = STATE_BOTTOM;
 
 	self.pos1 = self.origin;




More information about the nexuiz-commits mailing list