summaryrefslogtreecommitdiff
path: root/src/vehicle_base.h
diff options
context:
space:
mode:
authoralberth <alberth@openttd.org>2011-01-30 21:32:21 +0000
committeralberth <alberth@openttd.org>2011-01-30 21:32:21 +0000
commitda0b09557c2de80907fe9b07bd8d671fcecaab2a (patch)
treecbd81f8eecb716c1d656daa560ea7d73ad164fd5 /src/vehicle_base.h
parentdf8c4bdbfa27c6d213a15560811c5be4d73ec812 (diff)
downloadopenttd-da0b09557c2de80907fe9b07bd8d671fcecaab2a.tar.xz
(svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions.
Diffstat (limited to 'src/vehicle_base.h')
-rw-r--r--src/vehicle_base.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/vehicle_base.h b/src/vehicle_base.h
index c12232ec0..c5290e770 100644
--- a/src/vehicle_base.h
+++ b/src/vehicle_base.h
@@ -259,12 +259,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
*
* This method marks the area of the vehicle on the screen as dirty.
@@ -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();
};