summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2009-05-23 22:24:09 +0000
committerfrosch <frosch@openttd.org>2009-05-23 22:24:09 +0000
commit607583f0916471dccb97634ef3d90bacd09778b5 (patch)
tree3fb0f60ce12f96810d64ed3343ff0f779bffb7c2 /src
parent7854e68b95951979445bb485f1d377a358c6d204 (diff)
downloadopenttd-607583f0916471dccb97634ef3d90bacd09778b5.tar.xz
(svn r16408) -Codechange: Silence a pointless newgrf debug message.
Diffstat (limited to 'src')
-rw-r--r--src/newgrf.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/newgrf.cpp b/src/newgrf.cpp
index 1733d7536..d54ed27eb 100644
--- a/src/newgrf.cpp
+++ b/src/newgrf.cpp
@@ -2503,7 +2503,7 @@ static void FeatureChangeInfo(byte *buf, size_t len)
feature, numprops, engine, numinfo);
if (feature >= lengthof(handler) || handler[feature] == NULL) {
- grfmsg(1, "FeatureChangeInfo: Unsupported feature %d, skipping", feature);
+ if (feature != GSF_CARGOS) grfmsg(1, "FeatureChangeInfo: Unsupported feature %d, skipping", feature);
return;
}