From 2813b4440baec0866b243b83c45211b8b1fd3dec Mon Sep 17 00:00:00 2001 From: rubidium Date: Mon, 7 May 2007 15:58:05 +0000 Subject: (svn r9807) -Codechange: unify playing of sound when vehicle has been loaded and leaves the station. --- src/train.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/train.h') 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 */ -- cgit v1.2.3-54-g00ecf