diff options
author | rubidium <rubidium@openttd.org> | 2007-12-16 22:21:34 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-12-16 22:21:34 +0000 |
commit | 85b52f6a64cb5d1b36974e684aaacf136c768cc1 (patch) | |
tree | aadaddbbb0d6838aeafafa55389d5f0f3f5b0e7f | |
parent | 145517fb8e0bbd66daa711ca2b31aecc0179fe74 (diff) | |
download | openttd-85b52f6a64cb5d1b36974e684aaacf136c768cc1.tar.xz |
(svn r11650) -Fix: 'initialised' NewGRFs could still be deactivated in the later 'activation' pass.
-rw-r--r-- | src/newgrf.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp index e81c7e796..3c7b887b3 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -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; } } |