(svn r9807) -Codechange: unify playing of sound when vehicle has been loaded and leaves the station.

This commit is contained in:
rubidium
2007-05-07 15:58:05 +00:00
parent 4591fb5b0d
commit 161786e222
5 changed files with 20 additions and 3 deletions

View File

@@ -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 */