r540 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Mon Feb 13 13:17:08 EST 2006


Author: tma
Date: 2006-02-13 13:17:08 -0500 (Mon, 13 Feb 2006)
New Revision: 540

Modified:
   trunk/code/client/snd_openal.c
Log:
* Fix to a woopsie


Modified: trunk/code/client/snd_openal.c
===================================================================
--- trunk/code/client/snd_openal.c	2006-02-12 10:43:37 UTC (rev 539)
+++ trunk/code/client/snd_openal.c	2006-02-13 18:17:08 UTC (rev 540)
@@ -1465,7 +1465,7 @@
 	float		orientation[6];
 	vec3_t	sorigin;
 
-	if( s_alSpatEntOrigin->integer && entityNum )
+	if( s_alSpatEntOrigin->integer && entityNum >= 0 )
 		VectorCopy( entityList[ entityNum ].origin, sorigin );
 	else
 	{




More information about the quake3-commits mailing list