(svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup
This commit is contained in:
@@ -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
|
||||
*/
|
||||
|
Reference in New Issue
Block a user