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
commita1143a53f0cbe067a9c039e5722b8c8319faa330 (patch)
tree36c4fec15cf9ecae7501427037ae46c118a36e27 /spritecache.c
parent11dc0e1777d6d8450e4116033cb306b9c76686af (diff)
downloadopenttd-a1143a53f0cbe067a9c039e5722b8c8319faa330.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;