summaryrefslogtreecommitdiff
path: root/src/engine_type.h
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/engine_type.h
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/engine_type.h')
-rw-r--r--src/engine_type.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/engine_type.h b/src/engine_type.h
index c6a034cf6..65bceb89a 100644
--- a/src/engine_type.h
+++ b/src/engine_type.h
@@ -62,7 +62,7 @@ struct ShipVehicleInfo {
CargoID cargo_type;
uint16 capacity;
byte running_cost;
- SoundFxByte sfx;
+ SoundID sfx;
bool refittable;
};
@@ -80,7 +80,7 @@ struct AircraftVehicleInfo {
byte cost_factor;
byte running_cost;
byte subtype;
- SoundFxByte sfx;
+ SoundID sfx;
byte acceleration;
uint16 max_speed;
byte mail_capacity;
@@ -92,7 +92,7 @@ struct RoadVehicleInfo {
byte cost_factor;
byte running_cost;
byte running_cost_class;
- SoundFxByte sfx;
+ SoundID sfx;
uint16 max_speed; ///< Maximum speed in mph/3.2 units
byte capacity;
CargoID cargo_type;