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 | 2813b4440baec0866b243b83c45211b8b1fd3dec (patch) | |
tree | ae24499f9e5c82cb54457487b656bef2c2b5055a /src/train.h | |
parent | ebe81b98ce72768feadfdf562931b4ff59e13ff3 (diff) | |
download | openttd-2813b4440baec0866b243b83c45211b8b1fd3dec.tar.xz |
(svn r9807) -Codechange: unify playing of sound when vehicle has been loaded and leaves the station.
Diffstat (limited to 'src/train.h')
-rw-r--r-- | src/train.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/train.h b/src/train.h index 74f4341ba..cfda2dcdb 100644 --- a/src/train.h +++ b/src/train.h @@ -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 */ |