(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
This commit is contained in:
smatz
2008-01-17 20:41:33 +00:00
parent ac0fa7f69f
commit 8d077b16d8
6 changed files with 31 additions and 25 deletions

View File

@@ -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);
}
}