mirror of
https://github.com/OpenTTD/OpenTTD.git
synced 2025-03-06 14:27:16 +00:00
(svn r11650) -Fix: 'initialised' NewGRFs could still be deactivated in the later 'activation' pass.
This commit is contained in:
parent
145517fb8e
commit
85b52f6a64
@ -3737,7 +3737,7 @@ static void SkipIf(byte *buf, int len)
|
|||||||
_skip_sprites = -1;
|
_skip_sprites = -1;
|
||||||
|
|
||||||
/* If an action 8 hasn't been encountered yet, disable the grf. */
|
/* If an action 8 hasn't been encountered yet, disable the grf. */
|
||||||
if (_cur_grfconfig->status != GCS_ACTIVATED && _cur_grfconfig->status != GCS_INITIALISED) {
|
if (_cur_grfconfig->status != GCS_ACTIVATED) {
|
||||||
_cur_grfconfig->status = GCS_DISABLED;
|
_cur_grfconfig->status = GCS_DISABLED;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user