diff options
author | smatz <smatz@openttd.org> | 2008-01-17 20:41:33 +0000 |
---|---|---|
committer | smatz <smatz@openttd.org> | 2008-01-17 20:41:33 +0000 |
commit | 8d077b16d8749c34482125e6a51cac098209aa87 (patch) | |
tree | 37fe41422eb623a05d7c933ea9ba8f121e35cd01 /src/openttd.cpp | |
parent | ac0fa7f69f43d92bcd117c068774064c00b98528 (diff) | |
download | openttd-8d077b16d8749c34482125e6a51cac098209aa87.tar.xz |
(svn r11910) -Fix: play 'ding-ding' crossing sound in more cases (except gameload and crossing construction)
-Fix: crossing sound is bound to tile, not to vehicle
Diffstat (limited to 'src/openttd.cpp')
-rw-r--r-- | src/openttd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/openttd.cpp b/src/openttd.cpp index b1753490a..cff06481b 100644 --- a/src/openttd.cpp +++ b/src/openttd.cpp @@ -2317,7 +2317,7 @@ bool AfterLoadGame() if (CheckSavegameVersion(86)) { /* Now all crossings should be in correct state */ for (TileIndex t = 0; t < map_size; t++) { - if (IsLevelCrossingTile(t)) UpdateLevelCrossing(t); + if (IsLevelCrossingTile(t)) UpdateLevelCrossing(t, false); } } |