(svn r10178) -Fix: Don't deactivate newgrf files when skipping the rest of the file during the initialisation stage.
--- a/src/newgrf.cpp Sun Jun 17 10:47:30 2007 +0000
+++ b/src/newgrf.cpp Sun Jun 17 11:01:58 2007 +0000
@@ -3279,7 +3279,9 @@
_skip_sprites = -1;
/* If an action 8 hasn't been encountered yet, disable the grf. */
- if (_cur_grfconfig->status != GCS_ACTIVATED) _cur_grfconfig->status = GCS_DISABLED;
+ if (_cur_grfconfig->status != GCS_ACTIVATED && _cur_grfconfig->status != GCS_INITIALISED) {
+ _cur_grfconfig->status = GCS_DISABLED;
+ }
}
}