(svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions.

This commit is contained in:
alberth
2011-01-30 21:32:21 +00:00
parent c778568f58
commit b5e2e83823
6 changed files with 0 additions and 12 deletions

View File

@@ -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();
};