summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2015-01-17 15:00:02 +0000
committerfrosch <frosch@openttd.org>2015-01-17 15:00:02 +0000
commitf79ead7125cc73591c3bf54f971f6eb26bb54f24 (patch)
tree18d02c3fe387e6b536206cef03a1294e870c2862
parent65b95e6a5de40e5e52d7a26e2793eb23788ffa20 (diff)
downloadopenttd-f79ead7125cc73591c3bf54f971f6eb26bb54f24.tar.xz
(svn r27119) -Fix: Action 7/9 condition 0A failed for present, but disabled, NewGRF.
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 04e7a1ec2..c3b512014 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -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;