summaryrefslogtreecommitdiff
path: root/spritecache.c
diff options
context:
space:
mode:
authorDarkvater <Darkvater@openttd.org>2005-04-24 21:44:45 +0000
committerDarkvater <Darkvater@openttd.org>2005-04-24 21:44:45 +0000
commite9f8449d5529e678f0155a69bf22810957125f24 (patch)
tree36c4fec15cf9ecae7501427037ae46c118a36e27 /spritecache.c
parentadaf7832d4c46624c16abff3b49cbe8217981b54 (diff)
downloadopenttd-e9f8449d5529e678f0155a69bf22810957125f24.tar.xz
(svn r2229) - Fix: [ 1188777 ] Non-existing sprite #5125 (presignal). The DOS grf file trgi.grf has 6 less sprites than the windows one. This results in some segfaults for certain sprites. Fixed it by added a dummy grf file consisting ofr 6 sprites and loaded when using DOS gfx at the appropiate place.
Diffstat (limited to 'spritecache.c')
-rw-r--r--spritecache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/spritecache.c b/spritecache.c
index af63ef8c3..125b1e906 100644
--- a/spritecache.c
+++ b/spritecache.c
@@ -70,7 +70,7 @@ typedef struct MD5File {
} MD5File;
typedef struct FileList {
- const MD5File basic[4]; // grf files that always have to be loaded
+ const MD5File basic[5]; // grf files that always have to be loaded
const MD5File landscape[3]; // landscape specific grf files
} FileList;