summaryrefslogtreecommitdiff
path: root/gfxinit.c
diff options
context:
space:
mode:
Diffstat (limited to 'gfxinit.c')
-rw-r--r--gfxinit.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/gfxinit.c b/gfxinit.c
index f862bdc64..d934ec108 100644
--- a/gfxinit.c
+++ b/gfxinit.c
@@ -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++);