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 | 9fc355fca5d80a7d38d4a35dd6ec00e6adb1391a (patch) | |
tree | 425b0f3d08a6a6ba4e8c57af527383861642e162 /src/ship.h | |
parent | 48eda2b6ef4ac2b29bb007218b162207658d70a5 (diff) | |
download | openttd-9fc355fca5d80a7d38d4a35dd6ec00e6adb1391a.tar.xz |
(svn r12862) -Codechange: reduce code duplication for VehicleType -> WindowClass lookup
Diffstat (limited to 'src/ship.h')
-rw-r--r-- | src/ship.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/ship.h b/src/ship.h index 3d2e3cc02..7f7353642 100644 --- a/src/ship.h +++ b/src/ship.h @@ -32,7 +32,6 @@ struct Ship: public Vehicle { void MarkDirty(); void UpdateDeltaXY(Direction direction); ExpensesType GetExpenseType(bool income) const { return income ? EXPENSES_SHIP_INC : EXPENSES_SHIP_RUN; } - WindowClass GetVehicleListWindowClass() const { return WC_SHIPS_LIST; } void PlayLeaveStationSound() const; bool IsPrimaryVehicle() const { return true; } SpriteID GetImage(Direction direction) const; |