mirror of https://github.com/OpenTTD/OpenTTD
(svn r27119) -Fix: Action 7/9 condition 0A failed for present, but disabled, NewGRF.
parent
65b95e6a5d
commit
f79ead7125
|
@ -6095,7 +6095,7 @@ static void SkipIf(ByteReader *buf)
|
|||
|
||||
case 0x0A: // GRFID is not nor will be active
|
||||
/* This is the only condtype that doesn't get ignored if the GRFID is not found */
|
||||
result = c == NULL || c->flags == GCS_DISABLED || c->status == GCS_NOT_FOUND;
|
||||
result = c == NULL || c->status == GCS_DISABLED || c->status == GCS_NOT_FOUND;
|
||||
break;
|
||||
|
||||
default: grfmsg(1, "SkipIf: Unsupported GRF condition type %02X. Ignoring", condtype); return;
|
||||
|
|
Loading…
Reference in New Issue