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/ship.h | |
parent | 1a26e293330e6e2622547692af7e96056e9207bc (diff) | |
download | openttd-26206fa11682313e8cbe2f19441c5dbdce63ef74.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; |