(svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions.
This commit is contained in:
@@ -258,12 +258,6 @@ public:
|
||||
|
||||
void HandleLoading(bool mode = false);
|
||||
|
||||
/**
|
||||
* Get a string 'representation' of the vehicle type.
|
||||
* @return the string representation.
|
||||
*/
|
||||
virtual const char *GetTypeString() const { return "base vehicle"; }
|
||||
|
||||
/**
|
||||
* Marks the vehicles to be redrawn and updates cached variables
|
||||
*
|
||||
@@ -916,7 +910,6 @@ struct DisasterVehicle : public SpecializedVehicle<DisasterVehicle, VEH_DISASTER
|
||||
/** We want to 'destruct' the right class. */
|
||||
virtual ~DisasterVehicle() {}
|
||||
|
||||
const char *GetTypeString() const { return "disaster vehicle"; }
|
||||
void UpdateDeltaXY(Direction direction);
|
||||
bool Tick();
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user