summaryrefslogtreecommitdiff
path: root/src/table
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2009-05-17 17:17:48 +0000
committerrubidium <rubidium@openttd.org>2009-05-17 17:17:48 +0000
commit9c24e2bb8fdc29620ea8d73ecec9c93e8e3b3e53 (patch)
tree1b503e6d6551d4e0b93ceeaa187e88e3797ea7af /src/table
parente3bd95e7b6694a68a73bbb2649d6f96092e2e313 (diff)
downloadopenttd-9c24e2bb8fdc29620ea8d73ecec9c93e8e3b3e53.tar.xz
(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.
Diffstat (limited to 'src/table')
-rw-r--r--src/table/engines.h6
1 files changed, 3 insertions, 3 deletions
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