summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-04-24 09:55:20 +0000
committersmatz <smatz@openttd.org>2008-04-24 09:55:20 +0000
commit9fc355fca5d80a7d38d4a35dd6ec00e6adb1391a (patch)
tree425b0f3d08a6a6ba4e8c57af527383861642e162 /src/vehicle_base.h
parent48eda2b6ef4ac2b29bb007218b162207658d70a5 (diff)
downloadopenttd-9fc355fca5d80a7d38d4a35dd6ec00e6adb1391a.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.h6
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 {}