1
0
Fork 0

(svn r23226) -Fix (r23219): If you find a file, also use it.

release/1.2
frosch 2011-11-15 00:25:17 +00:00
parent 86a168b2e9
commit 52d3be2e05
1 changed files with 2 additions and 0 deletions

View File

@ -505,6 +505,8 @@ FILE *FioFOpenFile(const char *filename, const char *mode, Subdirectory subdir,
switch (subdir) {
case BASESET_DIR:
f = FioFOpenFile(filename, mode, OLD_GM_DIR, filesize);
if (f != NULL) break;
/* FALL THROUGH */
case NEWGRF_DIR:
f = FioFOpenFile(filename, mode, OLD_DATA_DIR, filesize);
break;