mirror of
https://github.com/JGRennison/OpenTTD-patches.git
synced 2024-11-17 21:25:40 +00:00
(svn r18760) -Fix (rlots)[FS#3500]: Action 9 did not properly detect whether an Action 8 was encountered already.
This commit is contained in:
parent
da3decba52
commit
a16edfebd9
@ -4168,7 +4168,7 @@ static void SkipIf(byte *buf, size_t len)
|
|||||||
_skip_sprites = -1;
|
_skip_sprites = -1;
|
||||||
|
|
||||||
/* If an action 8 hasn't been encountered yet, disable the grf. */
|
/* 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;
|
_cur_grfconfig->status = GCS_DISABLED;
|
||||||
ClearTemporaryNewGRFData(_cur_grffile);
|
ClearTemporaryNewGRFData(_cur_grffile);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user