summaryrefslogtreecommitdiff
path: root/src/sound.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-08-24 13:42:06 +0000
committerrubidium <rubidium@openttd.org>2011-08-24 13:42:06 +0000
commit2a12c9df2ff36a5ad7f6e5c84438ac5571f6ba8c (patch)
treefeedc3017e18e5f5647b81530bb0239ff4c151dc /src/sound.cpp
parent05300a00b1c82b1c411b38fb024a6decfefce4f8 (diff)
downloadopenttd-2a12c9df2ff36a5ad7f6e5c84438ac5571f6ba8c.tar.xz
(svn r22825) -Codechange: pass subdir to FioOpenFile
Diffstat (limited to 'src/sound.cpp')
-rw-r--r--src/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound.cpp b/src/sound.cpp
index 4b6886d36..283407882 100644
--- a/src/sound.cpp
+++ b/src/sound.cpp
@@ -30,7 +30,7 @@ static void OpenBankFile(const char *filename)
/* If there is no sound file (nosound set), don't load anything */
if (filename == NULL) return;
- FioOpenFile(SOUND_SLOT, filename);
+ FioOpenFile(SOUND_SLOT, filename, BASESET_DIR);
size_t pos = FioGetPos();
uint count = FioReadDword();