diff options
author | rubidium <rubidium@openttd.org> | 2007-05-07 15:58:05 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2007-05-07 15:58:05 +0000 |
commit | 161786e2222b67a48624e82bc9c3aabbc86e51e9 (patch) | |
tree | ae24499f9e5c82cb54457487b656bef2c2b5055a /src/vehicle.h | |
parent | 4591fb5b0d7f9ade45093a86d6a7150c80414dc5 (diff) | |
download | openttd-161786e2222b67a48624e82bc9c3aabbc86e51e9.tar.xz |
(svn r9807) -Codechange: unify playing of sound when vehicle has been loaded and leaves the station.
Diffstat (limited to 'src/vehicle.h')
-rw-r--r-- | src/vehicle.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/vehicle.h b/src/vehicle.h index 9143d5c87..37bff24ca 100644 --- a/src/vehicle.h +++ b/src/vehicle.h @@ -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 {} }; /** |