summaryrefslogtreecommitdiff
path: root/sound.c
diff options
context:
space:
mode:
authortron <tron@openttd.org>2005-08-28 10:59:34 +0000
committertron <tron@openttd.org>2005-08-28 10:59:34 +0000
commit70c07d13beca606e76d61b546d864a8961578b98 (patch)
treec2b65dbaeb64503ddb7c359070fbb9febd53250d /sound.c
parentabb034c2cde13123f802ecd0eb7f1505e24f0f5b (diff)
downloadopenttd-70c07d13beca606e76d61b546d864a8961578b98.tar.xz
(svn r2898) Fix typo in r2897
Diffstat (limited to 'sound.c')
-rw-r--r--sound.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sound.c b/sound.c
index d1f491b86..a6b379f99 100644
--- a/sound.c
+++ b/sound.c
@@ -38,6 +38,7 @@ static void OpenBankFile(const char *filename)
if (fe == NULL) {
_file_count = 0;
_files = NULL;
+ return;
}
_file_count = count;