diff options
author | michi_cc <michi_cc@openttd.org> | 2013-04-24 00:37:06 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2013-04-24 00:37:06 +0000 |
commit | 461d366f30cc34adf12084f554e84c15786d961b (patch) | |
tree | c27a0e7aa857990f86883850193335b4056934cb /src | |
parent | 90015a695309f17c1a0b7e43ac9c21fa08b112e5 (diff) | |
download | openttd-461d366f30cc34adf12084f554e84c15786d961b.tar.xz |
(svn r25200) -Fix (r24846): The level crossing sound is an ambient sound and not a new year sound.
Diffstat (limited to 'src')
-rw-r--r-- | src/train_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/train_cmd.cpp b/src/train_cmd.cpp index 0d12fe8e9..b3144207f 100644 --- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -3280,7 +3280,7 @@ bool TrainController(Train *v, Vehicle *nomove, bool reverse) /* If we are approaching a crossing that is reserved, play the sound now. */ TileIndex crossing = TrainApproachingCrossingTile(v); - if (crossing != INVALID_TILE && HasCrossingReservation(crossing) && _settings_client.sound.new_year) SndPlayTileFx(SND_0E_LEVEL_CROSSING, crossing); + if (crossing != INVALID_TILE && HasCrossingReservation(crossing) && _settings_client.sound.ambient) SndPlayTileFx(SND_0E_LEVEL_CROSSING, crossing); /* Always try to extend the reservation when entering a tile. */ CheckNextTrainTile(v); |