summaryrefslogtreecommitdiff
path: root/src/ship.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/ship.h
parentdf8c4bdbfa27c6d213a15560811c5be4d73ec812 (diff)
downloadopenttd-da0b09557c2de80907fe9b07bd8d671fcecaab2a.tar.xz
(svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions.
Diffstat (limited to 'src/ship.h')
-rw-r--r--src/ship.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ship.h b/src/ship.h
index 7d47ae876..9dc3a78a8 100644
--- a/src/ship.h
+++ b/src/ship.h
@@ -27,7 +27,6 @@ struct Ship: public SpecializedVehicle<Ship, VEH_SHIP> {
/** We want to 'destruct' the right class. */
virtual ~Ship() { this->PreDestructor(); }
- const char *GetTypeString() const { return "ship"; }
void MarkDirty();
void UpdateDeltaXY(Direction direction);
ExpensesType GetExpenseType(bool income) const { return income ? EXPENSES_SHIP_INC : EXPENSES_SHIP_RUN; }