summaryrefslogtreecommitdiff
path: root/src/train.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/train.h
parentdf8c4bdbfa27c6d213a15560811c5be4d73ec812 (diff)
downloadopenttd-da0b09557c2de80907fe9b07bd8d671fcecaab2a.tar.xz
(svn r21930) -Codechange: Remove unused vehicle GetTypeString() functions.
Diffstat (limited to 'src/train.h')
-rw-r--r--src/train.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/train.h b/src/train.h
index 94848bf52..085987a7f 100644
--- a/src/train.h
+++ b/src/train.h
@@ -91,7 +91,6 @@ struct Train : public GroundVehicle<Train, VEH_TRAIN> {
friend struct GroundVehicle<Train, VEH_TRAIN>; // GroundVehicle needs to use the acceleration functions defined at Train.
- const char *GetTypeString() const { return "train"; }
void MarkDirty();
void UpdateDeltaXY(Direction direction);
ExpensesType GetExpenseType(bool income) const { return income ? EXPENSES_TRAIN_INC : EXPENSES_TRAIN_RUN; }