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/clear_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/clear_cmd.cpp')
-rw-r--r-- | src/clear_cmd.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clear_cmd.cpp b/src/clear_cmd.cpp index 7d89c311d..53b878939 100644 --- a/src/clear_cmd.cpp +++ b/src/clear_cmd.cpp @@ -259,7 +259,7 @@ static void TileLoop_Clear(TileIndex tile) return; } } - AmbientSoundEffectCallback(tile); + AmbientSoundEffect(tile); switch (_settings_game.game_creation.landscape) { case LT_TROPIC: TileLoopClearDesert(tile); break; |