(svn r11650) -Fix: 'initialised' NewGRFs could still be deactivated in the later 'activation' pass.

This commit is contained in:
rubidium 2007-12-16 22:21:34 +00:00
parent 145517fb8e
commit 85b52f6a64

View File

@ -3737,7 +3737,7 @@ 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_INITIALISED) {
if (_cur_grfconfig->status != GCS_ACTIVATED) {
_cur_grfconfig->status = GCS_DISABLED;
}
}