(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 ebe81b98ce
commit 2813b4440b
5 changed files with 20 additions and 3 deletions

View File

@@ -248,6 +248,7 @@ struct Train : public Vehicle {
void UpdateDeltaXY(Direction direction);
ExpensesType GetExpenseType(bool income) const { return income ? EXPENSES_TRAIN_INC : EXPENSES_TRAIN_RUN; }
WindowClass GetVehicleListWindowClass() const { return WC_TRAINS_LIST; }
void PlayLeaveStationSound() const;
};
#endif /* TRAIN_H */