diff options
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++); |