From 9c24e2bb8fdc29620ea8d73ecec9c93e8e3b3e53 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 17 May 2009 17:17:48 +0000 Subject: (svn r16340) -Codechange: introduce SoundID (uint16) and use that instead of SoundFX, which was used as a byte and uint16 at different places, when the uint16 sound ID is meant. --- src/table/engines.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/table/engines.h') diff --git a/src/table/engines.h b/src/table/engines.h index c014a7e0c..b020e9cc7 100644 --- a/src/table/engines.h +++ b/src/table/engines.h @@ -518,7 +518,7 @@ static const RailVehicleInfo _orig_rail_vehicle_info[] = { * @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 } static const ShipVehicleInfo _orig_ship_vehicle_info[] = { /* image_index cargo_type cargo_amount refittable * | base_cost | | running_cost | @@ -550,7 +550,7 @@ static const ShipVehicleInfo _orig_ship_vehicle_info[] = { * @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 * 129) / 10, h, i } +#define AVI(a, b, c, d, e, f, g, h, i) { a, b, c, d, e, f, (g * 129) / 10, h, i } #define H AIR_HELI #define P AIR_CTOL #define J AIR_CTOL | AIR_FAST @@ -619,7 +619,7 @@ static const AircraftVehicleInfo _orig_aircraft_vehicle_info[] = { * @param h weight (1/4ton) * @param i power (10hp) */ -#define ROV(a, b, c, d, e, f, g, h, i) { a, b, c, RC_R, {d}, e, f, g, h, i, 76, 0 } +#define ROV(a, b, c, d, e, f, g, h, i) { a, b, c, RC_R, d, e, f, g, h, i, 76, 0 } static const RoadVehicleInfo _orig_road_vehicle_info[] = { /* image_index sfx max_speed * | base_cost | | capacity -- cgit v1.2.3-54-g00ecf