summaryrefslogtreecommitdiff
path: root/src/road_func.h
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
commit8dbf03e3223bc7c4ed575712ee171251678a4fb4 (patch)
tree37fe41422eb623a05d7c933ea9ba8f121e35cd01 /src/road_func.h
parent8794c5bc3c0b6b2b96c2cd3bd0fd301a1dbc0506 (diff)
downloadopenttd-8dbf03e3223bc7c4ed575712ee171251678a4fb4.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/road_func.h')
-rw-r--r--src/road_func.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/road_func.h b/src/road_func.h
index a93e1af78..3139ea022 100644
--- a/src/road_func.h
+++ b/src/road_func.h
@@ -136,6 +136,6 @@ bool ValParamRoadType(const RoadType rt);
*/
RoadTypes GetPlayerRoadtypes(const PlayerID p);
-void UpdateLevelCrossing(TileIndex tile);
+void UpdateLevelCrossing(TileIndex tile, bool sound = true);
#endif /* ROAD_FUNC_H */