diff options
author | smatz <smatz@openttd.org> | 2008-04-24 09:55:20 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-04-24 09:55:20 +0000 |
commit | 26206fa11682313e8cbe2f19441c5dbdce63ef74 (patch) | |
tree | 425b0f3d08a6a6ba4e8c57af527383861642e162 /src/vehicle_base.h | |
parent | 1a26e293330e6e2622547692af7e96056e9207bc (diff) | |
download | openttd-26206fa11682313e8cbe2f19441c5dbdce63ef74.tar.xz |
(svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r-- | src/vehicle_base.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h index 283b743c9..f89fd9458 100644 --- a/src/vehicle_base.h +++ b/src/vehicle_base.h @@ -11,7 +11,6 @@ #include "road_type.h" #include "cargo_type.h" #include "direction_type.h" -#include "window_type.h" #include "gfx_type.h" #include "command_type.h" #include "date_type.h" @@ -371,11 +370,6 @@ public: virtual ExpensesType GetExpenseType(bool income) const { return EXPENSES_OTHER; } /** - * Invalidates the vehicle list window of this type of vehicle - */ - virtual WindowClass GetVehicleListWindowClass() const { return WC_NONE; } - - /** * Play the sound associated with leaving the station */ virtual void PlayLeaveStationSound() const {} |