forked from mirror/OpenTTD
(svn r23116) -Fix (r23114): Ambient sound effect callback was called for unsupported tile types.
This commit is contained in:
@@ -1071,7 +1071,7 @@ static void DoDryUp(TileIndex tile)
|
||||
*/
|
||||
void TileLoop_Water(TileIndex tile)
|
||||
{
|
||||
AmbientSoundEffectCallback(tile);
|
||||
if (IsTileType(tile, MP_WATER)) AmbientSoundEffectCallback(tile);
|
||||
|
||||
switch (GetFloodingBehaviour(tile)) {
|
||||
case FLOOD_ACTIVE:
|
||||
|
Reference in New Issue
Block a user