diff options
author | michi_cc <michi_cc@openttd.org> | 2011-11-04 21:05:08 +0000 |
---|---|---|
committer | michi_cc <michi_cc@openttd.org> | 2011-11-04 21:05:08 +0000 |
commit | 707b0f48e6b4d886a7e744802096a56a5a097e3e (patch) | |
tree | 8d41f1903db127cafe30a1d8462aa7979e6d1d2e /src/clear_cmd.cpp | |
parent | a471a20491a0253125ca1f24c44879371d8d950e (diff) | |
download | openttd-707b0f48e6b4d886a7e744802096a56a5a097e3e.tar.xz |
(svn r23114) -Feature: [NewGRF] Ambient sound effect callback.
Diffstat (limited to 'src/clear_cmd.cpp')
-rw-r--r-- | src/clear_cmd.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/clear_cmd.cpp b/src/clear_cmd.cpp index 2bc1a8267..fc3cb0bc2 100644 --- a/src/clear_cmd.cpp +++ b/src/clear_cmd.cpp @@ -20,6 +20,7 @@ #include "viewport_func.h" #include "water.h" #include "core/random_func.hpp" +#include "newgrf_generic.h" #include "table/strings.h" #include "table/sprites.h" @@ -239,6 +240,7 @@ static void TileLoop_Clear(TileIndex tile) } } TileLoopClearHelper(tile); + AmbientSoundEffectCallback(tile); switch (_settings_game.game_creation.landscape) { case LT_TROPIC: TileLoopClearDesert(tile); break; |