summaryrefslogtreecommitdiff
path: root/src/tree_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/tree_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/tree_cmd.cpp')
-rw-r--r--src/tree_cmd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tree_cmd.cpp b/src/tree_cmd.cpp
index 37886a944..81e590f41 100644
--- a/src/tree_cmd.cpp
+++ b/src/tree_cmd.cpp
@@ -627,7 +627,7 @@ static void TileLoop_Trees(TileIndex tile)
}
}
- AmbientSoundEffectCallback(tile);
+ AmbientSoundEffect(tile);
uint treeCounter = GetTreeCounter(tile);