diff options
author | smatz <smatz@openttd.org> | 2008-04-24 09:55:20 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-04-24 09:55:20 +0000 |
commit | 26206fa11682313e8cbe2f19441c5dbdce63ef74 (patch) | |
tree | 425b0f3d08a6a6ba4e8c57af527383861642e162 /src/train.h | |
parent | 1a26e293330e6e2622547692af7e96056e9207bc (diff) | |
download | openttd-26206fa11682313e8cbe2f19441c5dbdce63ef74.tar.xz |
(svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup
Diffstat (limited to 'src/train.h')
-rw-r--r-- | src/train.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/train.h b/src/train.h index cc1882919..7086aedda 100644 --- a/src/train.h +++ b/src/train.h @@ -293,7 +293,6 @@ struct Train : public Vehicle { void MarkDirty(); void UpdateDeltaXY(Direction direction); ExpensesType GetExpenseType(bool income) const { return income ? EXPENSES_TRAIN_INC : EXPENSES_TRAIN_RUN; } - WindowClass GetVehicleListWindowClass() const { return WC_TRAINS_LIST; } void PlayLeaveStationSound() const; bool IsPrimaryVehicle() const { return IsFrontEngine(this); } SpriteID GetImage(Direction direction) const; |