(svn r23114) -Feature: [NewGRF] Ambient sound effect callback.

This commit is contained in:
michi_cc
2011-11-04 21:05:08 +00:00
parent a471a20491
commit 707b0f48e6
7 changed files with 55 additions and 6 deletions

View File

@@ -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;