(svn r10178) -Fix: Don't deactivate newgrf files when skipping the rest of the file during the initialisation stage.

replace/41b28d7194a279bdc17475d4fbe2ea6ec885a466
maedhros 17 years ago
parent 94bd08fc17
commit 5a9c7b5899

@ -3279,7 +3279,9 @@ static void SkipIf(byte *buf, int len)
_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;
}
}
}

Loading…
Cancel
Save