summaryrefslogtreecommitdiff
path: root/src/sound.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-10-29 23:02:31 +0000
committerrubidium <rubidium@openttd.org>2007-10-29 23:02:31 +0000
commitb14c94867a121a5c6b9b69340953368aee8a8876 (patch)
treef4608f438da95909157f41aa78f5a878e7152382 /src/sound.cpp
parent24956ab71ba1dd9ed1734ae262229f098662b275 (diff)
downloadopenttd-b14c94867a121a5c6b9b69340953368aee8a8876.tar.xz
(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled gracefully causing crashes and such.
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 e67f48ff1..9ddb87a34 100644
--- a/src/sound.cpp
+++ b/src/sound.cpp
@@ -15,11 +15,11 @@
#include "fileio.h"
#include "newgrf_sound.h"
#include "helpers.hpp"
+#include "fios.h"
static uint _file_count;
static FileEntry *_files;
-#define SOUND_SLOT 63
// Number of levels of panning per side
#define PANNING_LEVELS 16