r5644 - trunk/data/qcsrc/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Fri Jan 23 08:06:32 EST 2009


Author: div0
Date: 2009-01-23 08:06:31 -0500 (Fri, 23 Jan 2009)
New Revision: 5644

Modified:
   trunk/data/qcsrc/client/View.qc
   trunk/data/qcsrc/client/casings.qc
   trunk/data/qcsrc/client/damage.qc
   trunk/data/qcsrc/client/projectile.qc
Log:
fix missing electro sounds and warnings


Modified: trunk/data/qcsrc/client/View.qc
===================================================================
--- trunk/data/qcsrc/client/View.qc	2009-01-23 12:57:21 UTC (rev 5643)
+++ trunk/data/qcsrc/client/View.qc	2009-01-23 13:06:31 UTC (rev 5644)
@@ -424,7 +424,7 @@
 
 		if(cvar("camera_look_player"))
 		{
-			local vector dir, delta;
+			local vector dir;
 			local float n;
 			
 			dir = normalize(view_origin - new_origin);

Modified: trunk/data/qcsrc/client/casings.qc
===================================================================
--- trunk/data/qcsrc/client/casings.qc	2009-01-23 12:57:21 UTC (rev 5643)
+++ trunk/data/qcsrc/client/casings.qc	2009-01-23 13:06:31 UTC (rev 5644)
@@ -18,7 +18,6 @@
 		R_AddEntity(self);
 }
 
-float trace_networkentity;
 void Casing_Touch()
 {
 	if(trace_dphitq3surfaceflags & Q3SURFACEFLAG_NOIMPACT)

Modified: trunk/data/qcsrc/client/damage.qc
===================================================================
--- trunk/data/qcsrc/client/damage.qc	2009-01-23 12:57:21 UTC (rev 5643)
+++ trunk/data/qcsrc/client/damage.qc	2009-01-23 13:06:31 UTC (rev 5644)
@@ -126,6 +126,7 @@
 						pointparticles(particleeffectnum("electro_impact"), org2, '0 0 0', 1);
 					}
 				}
+				break;
 			case WEP_CRYLINK:
 				if(secondary)
 				{

Modified: trunk/data/qcsrc/client/projectile.qc
===================================================================
--- trunk/data/qcsrc/client/projectile.qc	2009-01-23 12:57:21 UTC (rev 5643)
+++ trunk/data/qcsrc/client/projectile.qc	2009-01-23 13:06:31 UTC (rev 5644)
@@ -104,7 +104,7 @@
 
 void Ent_Projectile()
 {
-	float f, r;
+	float f;
 
 	InterpolateOrigin_Undo();
 




More information about the nexuiz-commits mailing list