1
0
mirror of https://github.com/OpenTTD/OpenTTD.git synced 2025-08-21 21:49:10 +00:00

(svn r23724) -Codechange: split of the check to see if ambient sounds are enabled to a header file allowing compilers to inline that check

This commit is contained in:
yexo
2012-01-03 00:45:22 +00:00
parent b9e19cc6c1
commit 5f79b4c5d1
5 changed files with 13 additions and 6 deletions

View File

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