summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-12-16 22:21:34 +0000
committerrubidium <rubidium@openttd.org>2007-12-16 22:21:34 +0000
commit85b52f6a64cb5d1b36974e684aaacf136c768cc1 (patch)
treeaadaddbbb0d6838aeafafa55389d5f0f3f5b0e7f /src
parent145517fb8e0bbd66daa711ca2b31aecc0179fe74 (diff)
downloadopenttd-85b52f6a64cb5d1b36974e684aaacf136c768cc1.tar.xz
(svn r11650) -Fix: 'initialised' NewGRFs could still be deactivated in the later 'activation' pass.
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp2
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;
}
}