summaryrefslogtreecommitdiff
path: root/table
diff options
context:
space:
mode:
authorpeter1138 <peter1138@openttd.org>2005-11-06 13:42:26 +0000
committerpeter1138 <peter1138@openttd.org>2005-11-06 13:42:26 +0000
commit34c503cabf3da56abe3861927b45fc4238b91353 (patch)
tree84353e1ac91e579a3ea163316e9e1fe281200d11 /table
parent1fecb61566b559cafd048e93cd42cec66bff559a (diff)
downloadopenttd-34c503cabf3da56abe3861927b45fc4238b91353.tar.xz
(svn r3148) -NewGRF, Feature: Add support for cargo refitting specification by cargo classes.
Diffstat (limited to 'table')
-rw-r--r--table/engines.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/table/engines.h b/table/engines.h
index bba258287..b1ace97c6 100644
--- a/table/engines.h
+++ b/table/engines.h
@@ -15,7 +15,7 @@
* @param e Rail Type of the vehicle
* @param f Bitmask of the climates
*/
-#define MK(a, b, c, d, e, f) { a, b, c, d, e, f }
+#define MK(a, b, c, d, e, f) { a, b, c, d, e, f, 0 }
/** Writes the properties of a train carriage into the EngineInfo struct.
* @see EngineInfo
* @param a Introduction date
@@ -23,7 +23,7 @@
* @param f Bitmask of the climates
* @note the 0x80 in parameter b sets the "is carriage bit"
*/
-#define MW(a, b, c, d, e, f) { a, b | 0x80, c, d, e, f }
+#define MW(a, b, c, d, e, f) { a, b | 0x80, c, d, e, f, 0 }
// Rail types
// R = Conventional railway