summaryrefslogtreecommitdiff
path: root/src/vehicle.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-05-18 17:31:41 +0000
committerrubidium <rubidium@openttd.org>2007-05-18 17:31:41 +0000
commitba24c34f8558369cc0802c92963b40ff5c7b0bc2 (patch)
tree3eac526253ee6111911b7ea868ca46065b6d5889 /src/vehicle.cpp
parent2196abd71d687564597a0d4f6f9defc8679ba87b (diff)
downloadopenttd-ba24c34f8558369cc0802c92963b40ff5c7b0bc2.tar.xz
(svn r9869) -Codechange: replace some bytes with VehicleType, i.e. more type strictness.
Diffstat (limited to 'src/vehicle.cpp')
-rw-r--r--src/vehicle.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle.cpp b/src/vehicle.cpp
index 1b5b720b9..8b626a4d3 100644
--- a/src/vehicle.cpp
+++ b/src/vehicle.cpp
@@ -2443,6 +2443,7 @@ const Livery *GetEngineLivery(EngineID engine_type, PlayerID player, EngineID pa
if (p->livery[LS_DEFAULT].in_use && (_patches.liveries == 2 || (_patches.liveries == 1 && player == _local_player))) {
/* Determine the livery scheme to use */
switch (GetEngine(engine_type)->type) {
+ default: NOT_REACHED();
case VEH_TRAIN: {
const RailVehicleInfo *rvi = RailVehInfo(engine_type);