summaryrefslogtreecommitdiff
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
commitc2319982483a54d46e00ab49585e0a1a73afc42b (patch)
treeaadaddbbb0d6838aeafafa55389d5f0f3f5b0e7f
parentd56a690ba432c3ef483ac7a8072266349f2bfc96 (diff)
downloadopenttd-c2319982483a54d46e00ab49585e0a1a73afc42b.tar.xz
(svn r11650) -Fix: 'initialised' NewGRFs could still be deactivated in the later 'activation' pass.
-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;
}
}