(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

@@ -375,6 +375,11 @@ struct Vehicle {
* Invalidates the vehicle list window of this type of vehicle
*/
virtual WindowClass GetVehicleListWindowClass() const { return WC_NONE; }
/**
* Play the sound associated with leaving the station
*/
virtual void PlayLeaveStationSound() const {}
};
/**