From bc25cd89bffd79785957b3f91f78c6646e9a51a6 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sun, 6 Nov 2005 13:42:26 +0000 Subject: (svn r3148) -NewGRF, Feature: Add support for cargo refitting specification by cargo classes. --- table/engines.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'table') 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 -- cgit v1.2.3-70-g09d2