summaryrefslogtreecommitdiff
path: root/src/ship.h
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2007-05-07 15:58:05 +0000
committerrubidium <rubidium@openttd.org>2007-05-07 15:58:05 +0000
commit161786e2222b67a48624e82bc9c3aabbc86e51e9 (patch)
treeae24499f9e5c82cb54457487b656bef2c2b5055a /src/ship.h
parent4591fb5b0d7f9ade45093a86d6a7150c80414dc5 (diff)
downloadopenttd-161786e2222b67a48624e82bc9c3aabbc86e51e9.tar.xz
(svn r9807) -Codechange: unify playing of sound when vehicle has been loaded and leaves the station.
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 fe5598230..f0435936d 100644
--- a/src/ship.h
+++ b/src/ship.h
@@ -44,6 +44,7 @@ struct Ship: public Vehicle {
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;
};
#endif /* SHIP_H */