From 8caedb4898761a24d300daf1ee7096a05dbe2df2 Mon Sep 17 00:00:00 2001 From: peter1138 Date: Sat, 11 Feb 2006 07:34:05 +0000 Subject: (svn r3586) - NewGRF: Load callback masks for all vehicle types. --- table/engines.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'table') diff --git a/table/engines.h b/table/engines.h index 5a4f8b2a8..600bb0b9b 100644 --- a/table/engines.h +++ b/table/engines.h @@ -467,7 +467,7 @@ const RailVehicleInfo orig_rail_vehicle_info[NUM_TRAIN_ENGINES] = { * @param g sound effect * @param h refittable */ -#define SVI(a, b, c, d, e, f, g, h) { a, b, c, d, e, f, g, h } +#define SVI(a, b, c, d, e, f, g, h) { a, b, c, d, e, f, g, h, 0 } const ShipVehicleInfo orig_ship_vehicle_info[NUM_SHIP_ENGINES] = { // image_index cargo_type cargo_amount refittable // | base_cost | | running_cost | @@ -499,7 +499,7 @@ const ShipVehicleInfo orig_ship_vehicle_info[NUM_SHIP_ENGINES] = { * @param h mail_capacity * @param i passenger_capacity */ -#define AVI(a, b, c, d, e, f, g, h, i) { a, b, c, d, e, f, g, h, i } +#define AVI(a, b, c, d, e, f, g, h, i) { a, b, c, d, e, f, g, h, i, 0 } #define H 0 #define P 1 #define J 3 @@ -566,7 +566,7 @@ const AircraftVehicleInfo orig_aircraft_vehicle_info[NUM_AIRCRAFT_ENGINES] = { * @param f capacity * @param g cargo_type */ -#define RVI(a, b, c, d, e, f, g) { a, b, c, d, e, f, g } +#define RVI(a, b, c, d, e, f, g) { a, b, c, d, e, f, g, 0 } const RoadVehicleInfo orig_road_vehicle_info[NUM_ROAD_ENGINES] = { // image_index sfx max_speed // | base_cost | | capacity -- cgit v1.2.3-54-g00ecf