Mercurial > hg > openttd
diff src/train_cmd.cpp @ 20258:b961719a03d6 draft
(svn r25200) -Fix (r24846): The level crossing sound is an ambient sound and not a new year sound.
author | michi_cc <michi_cc@openttd.org> |
---|---|
date | Wed, 24 Apr 2013 00:37:06 +0000 (2013-04-24) |
parents | 723239958dde |
children | 93d7e37bd666 |
line wrap: on
line diff
--- a/src/train_cmd.cpp +++ b/src/train_cmd.cpp @@ -3280,7 +3280,7 @@ /* 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);