From 5f79b4c5d1eb364e5e8ba6291bb522d45af4c115 Mon Sep 17 00:00:00 2001 From: yexo Date: Tue, 3 Jan 2012 00:45:22 +0000 Subject: (svn r23724) -Codechange: split of the check to see if ambient sounds are enabled to a header file allowing compilers to inline that check --- src/tree_cmd.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/tree_cmd.cpp') 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); -- cgit v1.2.3-54-g00ecf