(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 7975bedc23
commit f884be58e5
5 changed files with 13 additions and 6 deletions

View File

@@ -627,7 +627,7 @@ static void TileLoop_Trees(TileIndex tile)
}
}
AmbientSoundEffectCallback(tile);
AmbientSoundEffect(tile);
uint treeCounter = GetTreeCounter(tile);