diff options
author | Darkvater <darkvater@openttd.org> | 2006-10-24 13:08:52 +0000 |
---|---|---|
committer | Darkvater <darkvater@openttd.org> | 2006-10-24 13:08:52 +0000 |
commit | 512568781b78fccda08044e329734725567f0eae (patch) | |
tree | 9199f1fbb1888f2403201d82a1d01e5080282f86 /gfxinit.c | |
parent | 1204eeacfeaf0177d1513d71c8eb318778c8d8c3 (diff) | |
download | openttd-512568781b78fccda08044e329734725567f0eae.tar.xz |
(svn r6923) -Codechange: Load nsignalsw.grf in the same way as other mandatory additional grfs
Diffstat (limited to 'gfxinit.c')
-rw-r--r-- | gfxinit.c | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -21,7 +21,7 @@ typedef struct MD5File { } MD5File; typedef struct FileList { - const MD5File basic[5]; // grf files that always have to be loaded + const MD5File basic[4]; // grf files that always have to be loaded const MD5File landscape[3]; // landscape specific grf files } FileList; @@ -344,6 +344,9 @@ static void LoadSpriteTables(void) ); } + assert(load_index == SPR_SIGNALS_BASE); + load_index += LoadGrfFile("nsignalsw.grf", load_index, i++); + assert(load_index == SPR_CANALS_BASE); load_index += LoadGrfFile("canalsw.grf", load_index, i++); |