(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

@@ -1071,6 +1071,8 @@ static void DoDryUp(TileIndex tile)
*/
void TileLoop_Water(TileIndex tile)
{
AmbientSoundEffectCallback(tile);
switch (GetFloodingBehaviour(tile)) {
case FLOOD_ACTIVE:
for (Direction dir = DIR_BEGIN; dir < DIR_END; dir++) {