(svn r22825) -Codechange: pass subdir to FioOpenFile

This commit is contained in:
rubidium
2011-08-24 13:42:06 +00:00
parent 05300a00b1
commit 2a12c9df2f
6 changed files with 10 additions and 9 deletions

View File

@@ -8105,7 +8105,7 @@ void LoadNewGRFFile(GRFConfig *config, uint file_index, GrfLoadingStage stage)
return;
}
FioOpenFile(file_index, filename);
FioOpenFile(file_index, filename, NEWGRF_DIR);
_cur.file_index = file_index; // XXX
_palette_remap_grf[_cur.file_index] = (config->palette & GRFP_USE_MASK);