summaryrefslogtreecommitdiff
path: root/src/engine_type.h
diff options
context:
space:
mode:
authorCharles Pigott <charlespigott@googlemail.com>2019-04-22 07:39:52 +0100
committerPeterN <peter@fuzzle.org>2019-04-29 17:40:22 +0100
commit931d32f4145e36ef08b432314353ff9f058f6a08 (patch)
tree7503cca488e8d3453adeb0e69fc51a609649f1a0 /src/engine_type.h
parent10ba431d21f58c707398f95b99faf3c2aac77e77 (diff)
downloadopenttd-931d32f4145e36ef08b432314353ff9f058f6a08.tar.xz
Codechange: Remove RailTypeByte type
Diffstat (limited to 'src/engine_type.h')
-rw-r--r--src/engine_type.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/engine_type.h b/src/engine_type.h
index 82f10d9d8..1cc0452a5 100644
--- a/src/engine_type.h
+++ b/src/engine_type.h
@@ -44,7 +44,7 @@ struct RailVehicleInfo {
byte image_index;
RailVehicleTypes railveh_type;
byte cost_factor; ///< Purchase cost factor; For multiheaded engines the sum of both engine prices.
- RailTypeByte railtype;
+ RailType railtype;
uint16 max_speed; ///< Maximum speed (1 unit = 1/1.6 mph = 1 km-ish/h)
uint16 power; ///< Power of engine (hp); For multiheaded engines the sum of both engine powers.
uint16 weight; ///< Weight of vehicle (tons); For multiheaded engines the weight of each single engine.