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/rail_cmd.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/rail_cmd.cpp')
-rw-r--r-- | src/rail_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rail_cmd.cpp b/src/rail_cmd.cpp index 3e9b94cc9..3c39cf266 100644 --- a/src/rail_cmd.cpp +++ b/src/rail_cmd.cpp @@ -383,7 +383,7 @@ CommandCost CmdBuildSingleRail(TileIndex tile, uint32 flags, uint32 p1, uint32 p (track == TRACK_Y && road == ROAD_X)) { if (flags & DC_EXEC) { MakeRoadCrossing(tile, GetRoadOwner(tile, ROADTYPE_ROAD), GetRoadOwner(tile, ROADTYPE_TRAM), GetRoadOwner(tile, ROADTYPE_HWAY), _current_player, (track == TRACK_X ? AXIS_Y : AXIS_X), railtype, roadtypes, GetTownIndex(tile)); - UpdateLevelCrossing(tile); + UpdateLevelCrossing(tile, false); } break; } |