From 142f2aba15a3b37ff3aa9955c560deba6cd1572d Mon Sep 17 00:00:00 2001 From: rubidium Date: Fri, 8 Jun 2007 21:16:17 +0000 Subject: (svn r10073) -Codechange: make the NewGRF paths in the config file without any full paths (again). --- src/newgrf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/newgrf.cpp') diff --git a/src/newgrf.cpp b/src/newgrf.cpp index f91f947d6..3236b52c3 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -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); -- cgit v1.2.3-54-g00ecf