mirror of https://github.com/OpenTTD/OpenTTD
(svn r11650) -Fix: 'initialised' NewGRFs could still be deactivated in the later 'activation' pass.
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