diff options
author | peter1138 <peter1138@openttd.org> | 2009-07-13 10:17:22 +0000 |
---|---|---|
committer | peter1138 <peter1138@openttd.org> | 2009-07-13 10:17:22 +0000 |
commit | a67f861d5505106ec8b919222da762ab7d185af6 (patch) | |
tree | 872efbced77240a2052bf1942626bad71d4f6151 /src/sound.cpp | |
parent | 2547ba9517a2137f58ea2227011f16605656813e (diff) | |
download | openttd-a67f861d5505106ec8b919222da762ab7d185af6.tar.xz |
(svn r16805) -Codechange: Remove 'unused' mixer channel flags, which always had the same value.
Diffstat (limited to 'src/sound.cpp')
-rw-r--r-- | src/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound.cpp b/src/sound.cpp index 104ff9e10..0e4b705fb 100644 --- a/src/sound.cpp +++ b/src/sound.cpp @@ -111,7 +111,7 @@ static bool SetBankSource(MixerChannel *mc, const SoundEntry *sound) assert(sound->bits_per_sample == 8 && sound->channels == 1 && sound->file_size != 0 && sound->rate != 0); - MxSetChannelRawSrc(mc, mem, sound->file_size, sound->rate, MX_AUTOFREE); + MxSetChannelRawSrc(mc, mem, sound->file_size, sound->rate); return true; } |