summaryrefslogtreecommitdiff
path: root/src/ship.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-07-01 19:11:47 +0000
committerrubidium <rubidium@openttd.org>2007-07-01 19:11:47 +0000
commit83a880c882992efb1b949b26ac881abc3825964f (patch)
tree2e6180dd4e262fcc66cf94a5d26c4c6fb7df642f /src/ship.h
parentc49fd0957d9e0fbecd365b2c86e82a1a37625921 (diff)
downloadopenttd-83a880c882992efb1b949b26ac881abc3825964f.tar.xz
(svn r10408) -Codechange: make GetImage a class method of Vehicle instead of Get(Aircraft|RoadVeh|Ship|Train)Image.
Diffstat (limited to 'src/ship.h')
-rw-r--r--src/ship.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/ship.h b/src/ship.h
index b045beb05..200c1016c 100644
--- a/src/ship.h
+++ b/src/ship.h
@@ -46,6 +46,7 @@ struct Ship: public Vehicle {
WindowClass GetVehicleListWindowClass() const { return WC_SHIPS_LIST; }
void PlayLeaveStationSound() const;
bool IsPrimaryVehicle() const { return true; }
+ int GetImage(Direction direction) const;
};
#endif /* SHIP_H */