changeset 1437 | 7d9dfccffa50 |
parent 1389 | 238570e5c3d3 |
child 1725 | 97841c222b55 |
--- a/spritecache.c Sun Mar 06 13:55:40 2005 +0000 +++ b/spritecache.c Sun Mar 06 13:57:19 2005 +0000 @@ -912,7 +912,8 @@ load_index = _custom_sprites_base; for (j = 0; j != lengthof(_newgrf_files) && _newgrf_files[j]; j++) { if (!FiosCheckFileExists(_newgrf_files[j])) - continue; + // TODO: usrerror() + error("NewGRF file missing: %s", _newgrf_files[j]); if (_loading_stage == 0) InitNewGRFFile(_newgrf_files[j], load_index); load_index += LoadNewGrfFile(_newgrf_files[j], load_index, i++);