summaryrefslogtreecommitdiff
path: root/src/water_cmd.cpp
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2011-11-04 21:05:08 +0000
committermichi_cc <michi_cc@openttd.org>2011-11-04 21:05:08 +0000
commit707b0f48e6b4d886a7e744802096a56a5a097e3e (patch)
tree8d41f1903db127cafe30a1d8462aa7979e6d1d2e /src/water_cmd.cpp
parenta471a20491a0253125ca1f24c44879371d8d950e (diff)
downloadopenttd-707b0f48e6b4d886a7e744802096a56a5a097e3e.tar.xz
(svn r23114) -Feature: [NewGRF] Ambient sound effect callback.
Diffstat (limited to 'src/water_cmd.cpp')
-rw-r--r--src/water_cmd.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp
index 7d213cf29..18b791b42 100644
--- a/src/water_cmd.cpp
+++ b/src/water_cmd.cpp
@@ -1071,6 +1071,8 @@ static void DoDryUp(TileIndex tile)
*/
void TileLoop_Water(TileIndex tile)
{
+ AmbientSoundEffectCallback(tile);
+
switch (GetFloodingBehaviour(tile)) {
case FLOOD_ACTIVE:
for (Direction dir = DIR_BEGIN; dir < DIR_END; dir++) {