From 85b52f6a64cb5d1b36974e684aaacf136c768cc1 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 16 Dec 2007 22:21:34 +0000 Subject: [PATCH] (svn r11650) -Fix: 'initialised' NewGRFs could still be deactivated in the later 'activation' pass. --- src/newgrf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf.cpp b/src/newgrf.cpp index e81c7e7967..3c7b887b3f 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; } }