summaryrefslogtreecommitdiff
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
commitde4f69d42e9044ec71e3dd85e3222ad3f2aaf956 (patch)
treec2b65dbaeb64503ddb7c359070fbb9febd53250d
parentbb741798e92c0b98438c8646f7a39d5ed782a25a (diff)
downloadopenttd-de4f69d42e9044ec71e3dd85e3222ad3f2aaf956.tar.xz
(svn r2898) Fix typo in r2897
-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;