aboutsummaryrefslogtreecommitdiffstats
path: root/src/jake2/sound/joal/Channel.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/jake2/sound/joal/Channel.java')
-rw-r--r--src/jake2/sound/joal/Channel.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/jake2/sound/joal/Channel.java b/src/jake2/sound/joal/Channel.java
index 09d2c16..51d111b 100644
--- a/src/jake2/sound/joal/Channel.java
+++ b/src/jake2/sound/joal/Channel.java
@@ -3,7 +3,7 @@
*
* Copyright (C) 2003
*
- * $Id: Channel.java,v 1.8 2006-11-23 12:32:49 cawe Exp $
+ * $Id: Channel.java,v 1.9 2006-11-23 13:13:58 cawe Exp $
*/
/*
Copyright (C) 1997-2001 Id Software, Inc.
@@ -107,6 +107,7 @@ public class Channel {
Channel.buffers = buffers;
// create channels
int sourceId;
+ numChannels = 0;
for (int i = 0; i < MAX_CHANNELS; i++) {
try {