summaryrefslogtreecommitdiff
path: root/src/vehicle_gui.cpp
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-05-15 11:28:22 +0000
committerrubidium <rubidium@openttd.org>2007-05-15 11:28:22 +0000
commit23492f1f34bf45266e319d4f2c7e2ffcb8dc483c (patch)
tree5302883001c15ce5eca3dfd6a763cf1108b5e752 /src/vehicle_gui.cpp
parenta390db6941fa5911e92d39e2f926df16dc4af984 (diff)
downloadopenttd-23492f1f34bf45266e319d4f2c7e2ffcb8dc483c.tar.xz
(svn r9841) -Codechange: add a little more type strictness to the vehicle types.
Diffstat (limited to 'src/vehicle_gui.cpp')
-rw-r--r--src/vehicle_gui.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/vehicle_gui.cpp b/src/vehicle_gui.cpp
index c90ead3ff..02f90e70f 100644
--- a/src/vehicle_gui.cpp
+++ b/src/vehicle_gui.cpp
@@ -377,6 +377,7 @@ static void VehicleRefitWndProc(Window *w, WindowEvent *e)
int command = 0;
switch (v->type) {
+ default: NOT_REACHED();
case VEH_TRAIN: command = CMD_REFIT_RAIL_VEHICLE | CMD_MSG(STR_RAIL_CAN_T_REFIT_VEHICLE); break;
case VEH_ROAD: command = CMD_REFIT_ROAD_VEH | CMD_MSG(STR_REFIT_ROAD_VEHICLE_CAN_T); break;
case VEH_SHIP: command = CMD_REFIT_SHIP | CMD_MSG(STR_9841_CAN_T_REFIT_SHIP); break;