(svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again).

This commit is contained in:
rubidium
2007-06-08 21:16:17 +00:00
parent 653b343018
commit 142f2aba15
5 changed files with 65 additions and 40 deletions

View File

@@ -4941,7 +4941,7 @@ void LoadNewGRF(uint load_index, uint file_index)
if (c->status == GCS_DISABLED || c->status == GCS_NOT_FOUND) continue;
/* @todo usererror() */
if (!FileExists(c->full_path)) error("NewGRF file is missing '%s'", c->filename);
if (!FioCheckFileExists(c->full_path)) error("NewGRF file is missing '%s'", c->filename);
if (stage == GLS_LABELSCAN) InitNewGRFFile(c, _cur_spriteid);
LoadNewGRFFile(c, slot++, stage);