mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-02-01 20:03:26 +00:00
(svn r10178) -Fix: Don't deactivate newgrf files when skipping the rest of the file during the initialisation stage.
This commit is contained in:
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…
Reference in New Issue
Block a user