From f5b6bae7cacbc1905cc14bfa998347d97ff7eb14 Mon Sep 17 00:00:00 2001 From: frosch Date: Fri, 8 Jan 2010 19:18:32 +0000 Subject: [PATCH] (svn r18760) -Fix (rlots)[FS#3500]: Action 9 did not properly detect whether an Action 8 was encountered already. --- src/newgrf.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/newgrf.cpp b/src/newgrf.cpp index 04df38e333..f7920b5c7b 100644 --- a/src/newgrf.cpp +++ b/src/newgrf.cpp @@ -4168,7 +4168,7 @@ static void SkipIf(byte *buf, size_t len) _skip_sprites = -1; /* If an action 8 hasn't been encountered yet, disable the grf. */ - if (_cur_grfconfig->status != GCS_ACTIVATED) { + if (_cur_grfconfig->status != (_cur_stage < GLS_RESERVE ? GCS_INITIALISED : GCS_ACTIVATED)) { _cur_grfconfig->status = GCS_DISABLED; ClearTemporaryNewGRFData(_cur_grffile); }