(svn r6923) -Codechange: Load nsignalsw.grf in the same way as other mandatory additional grfs

This commit is contained in:
Darkvater
2006-10-24 13:08:52 +00:00
parent 1204eeacfe
commit 512568781b
3 changed files with 7 additions and 4 deletions

View File

@@ -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++);