diff options
author | yexo <yexo@openttd.org> | 2012-01-03 00:45:22 +0000 |
---|---|---|
committer | yexo <yexo@openttd.org> | 2012-01-03 00:45:22 +0000 |
commit | 5f79b4c5d1eb364e5e8ba6291bb522d45af4c115 (patch) | |
tree | 246ee542b805e02c6d2ee1aaa7cb5d5f9a45ed4b /src/water_cmd.cpp | |
parent | b9e19cc6c15df0e66152d46df767b6370b89a9db (diff) | |
download | openttd-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.cpp | 2 |
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: |