summaryrefslogtreecommitdiff
path: root/sound.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-02-05 09:56:04 +0000
committertron <tron@openttd.org>2006-02-05 09:56:04 +0000
commit867e1acf084c5b789d8db964fe27b3ce396f213f (patch)
tree17869439f86c9f22a75f3a301f462dbf4d4ec8ae /sound.c
parentcf414c1864c8b0ceeb0368903eb1ed7393df36c1 (diff)
downloadopenttd-867e1acf084c5b789d8db964fe27b3ce396f213f.tar.xz
(svn r3552) Remove the global variable _mixer
Diffstat (limited to 'sound.c')
-rw-r--r--sound.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound.c b/sound.c
index 46b319cdc..d1492044e 100644
--- a/sound.c
+++ b/sound.c
@@ -140,7 +140,7 @@ static void StartSound(uint sound, int panning, uint volume)
uint left_vol, right_vol;
if (volume == 0) return;
- mc = MxAllocateChannel(_mixer);
+ mc = MxAllocateChannel();
if (mc == NULL) return;
if (!SetBankSource(mc, sound)) return;