summaryrefslogtreecommitdiff
path: root/src/openttd.cpp
diff options
context:
space:
mode:
authorsmatz <smatz@openttd.org>2008-01-17 20:41:33 +0000
committersmatz <smatz@openttd.org>2008-01-17 20:41:33 +0000
commit8d077b16d8749c34482125e6a51cac098209aa87 (patch)
tree37fe41422eb623a05d7c933ea9ba8f121e35cd01 /src/openttd.cpp
parentac0fa7f69f43d92bcd117c068774064c00b98528 (diff)
downloadopenttd-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.cpp2
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);
}
}