about summary refs log tree commit diff
path: root/src/engine
diff options
context:
space:
mode:
authorJoel de Vahl <joel@stalverk80.se>2007-07-24 08:49:03 +0000
committerJoel de Vahl <joel@stalverk80.se>2007-07-24 08:49:03 +0000
commitcdc1655b33a34f46da4fec11e29b5b34a4cb2e4e (patch)
tree44f26cd8d3a68f2572b3679f6fd39dbaad966d06 /src/engine
parent40eaf9431b1b3d31e999c973abd29b07065b9b3c (diff)
downloadzcatch-cdc1655b33a34f46da4fec11e29b5b34a4cb2e4e.tar.gz
zcatch-cdc1655b33a34f46da4fec11e29b5b34a4cb2e4e.zip
Fixed sound bug and made things compile.
Diffstat (limited to 'src/engine')
-rw-r--r--src/engine/client/snd.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/engine/client/snd.cpp b/src/engine/client/snd.cpp
index 68b8d23f..974b6edd 100644
--- a/src/engine/client/snd.cpp
+++ b/src/engine/client/snd.cpp
@@ -168,6 +168,7 @@ public:
 				channels[c].loop = loop;
 				channels[c].vol = vol * GLOBAL_VOLUME_SCALE;
 				channels[c].pan = pan;
+				channels[c].stop = -1;
 				channels[c].lerp = -1;
 				sound->last_played = time_get();
 				return c;