summaryrefslogtreecommitdiff
path: root/src/water_cmd.cpp
diff options
context:
space:
mode:
authoryexo <yexo@openttd.org>2012-01-03 00:45:22 +0000
committeryexo <yexo@openttd.org>2012-01-03 00:45:22 +0000
commit5f79b4c5d1eb364e5e8ba6291bb522d45af4c115 (patch)
tree246ee542b805e02c6d2ee1aaa7cb5d5f9a45ed4b /src/water_cmd.cpp
parentb9e19cc6c15df0e66152d46df767b6370b89a9db (diff)
downloadopenttd-5f79b4c5d1eb364e5e8ba6291bb522d45af4c115.tar.xz
(svn r23724) -Codechange: split of the check to see if ambient sounds are enabled to a header file allowing compilers to inline that check
Diffstat (limited to 'src/water_cmd.cpp')
-rw-r--r--src/water_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/water_cmd.cpp b/src/water_cmd.cpp
index bf1ec56c3..77a8129d1 100644
--- a/src/water_cmd.cpp
+++ b/src/water_cmd.cpp
@@ -1143,7 +1143,7 @@ static void DoDryUp(TileIndex tile)
*/
void TileLoop_Water(TileIndex tile)
{
- if (IsTileType(tile, MP_WATER)) AmbientSoundEffectCallback(tile);
+ if (IsTileType(tile, MP_WATER)) AmbientSoundEffect(tile);
switch (GetFloodingBehaviour(tile)) {
case FLOOD_ACTIVE: