diff options
author | rubidium <rubidium@openttd.org> | 2007-05-18 17:31:41 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-05-18 17:31:41 +0000 |
commit | c8d05162c296a6fdec7a02163b21e2fce2da7272 (patch) | |
tree | 3eac526253ee6111911b7ea868ca46065b6d5889 /src/vehicle.cpp | |
parent | 2a7442fda4bddeab5da85c19e957a9ed39a70d05 (diff) | |
download | openttd-c8d05162c296a6fdec7a02163b21e2fce2da7272.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.cpp | 1 |
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); |