(svn r11355) -Fix [FS#1377]: loading too many GRFs was not handled gracefully causing crashes and such.

This commit is contained in:
rubidium
2007-10-29 23:02:31 +00:00
parent 840de103d1
commit 3722b834ef
7 changed files with 45 additions and 18 deletions

View File

@@ -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