r405 - trunk/code/client

DONOTREPLY at icculus.org DONOTREPLY at icculus.org
Thu Dec 1 19:14:24 EST 2005


Author: tma
Date: 2005-12-01 19:14:24 -0500 (Thu, 01 Dec 2005)
New Revision: 405

Modified:
   trunk/code/client/snd_openal.c
Log:
* Fix to an OpenAL "bug"


Modified: trunk/code/client/snd_openal.c
===================================================================
--- trunk/code/client/snd_openal.c	2005-12-01 21:36:16 UTC (rev 404)
+++ trunk/code/client/snd_openal.c	2005-12-02 00:14:24 UTC (rev 405)
@@ -653,12 +653,17 @@
 			}
 		}
 
+		// The channel system is not actually adhered to by baseq3, and not
+		// implemented in snd_dma.c, so while the following is strictly correct, it
+		// causes incorrect behaviour versus defacto baseq3
+#if 0
 		// Is it an exact match, and not on channel 0?
 		if((srcList[i].entity == entnum) && (srcList[i].channel == channel) && (channel != 0))
 		{
 			S_AL_SrcKill(i);
 			return i;
 		}
+#endif
 	}
 
 	// Do we have an empty one?




More information about the quake3-commits mailing list