forked from mirror/OpenTTD
(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:
@@ -1143,7 +1143,7 @@ static void DoDryUp(TileIndex tile)
|
||||
*/
|
||||
void TileLoop_Water(TileIndex tile)
|
||||
{
|
||||
if (IsTileType(tile, MP_WATER)) AmbientSoundEffectCallback(tile);
|
||||
if (IsTileType(tile, MP_WATER)) AmbientSoundEffect(tile);
|
||||
|
||||
switch (GetFloodingBehaviour(tile)) {
|
||||
case FLOOD_ACTIVE:
|
||||
|
Reference in New Issue
Block a user