(svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup

This commit is contained in:
smatz
2008-04-24 09:55:20 +00:00
parent 48eda2b6ef
commit 9fc355fca5
11 changed files with 27 additions and 32 deletions

View File

@@ -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"
@@ -370,11 +369,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
*/