summaryrefslogtreecommitdiff
path: root/src/terraform_gui.cpp
diff options
context:
space:
mode:
authorfrosch <frosch@openttd.org>2014-03-23 13:28:32 +0000
committerfrosch <frosch@openttd.org>2014-03-23 13:28:32 +0000
commit53706139242224718a3cbd5f5f1106750a1c4bc1 (patch)
tree2046f2bb18b8e937fc69a01f6325ff54f8b9fd69 /src/terraform_gui.cpp
parent73a22455289d8a29cdf4efd56a17cf2b646ea3dd (diff)
downloadopenttd-53706139242224718a3cbd5f5f1106750a1c4bc1.tar.xz
(svn r26422) -Fix [FS#5946]: Some road constructions used the rail sound effect. Rename the enum items to properly reflect their purpose.
Diffstat (limited to 'src/terraform_gui.cpp')
-rw-r--r--src/terraform_gui.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/terraform_gui.cpp b/src/terraform_gui.cpp
index d1815ca9b..399b0a073 100644
--- a/src/terraform_gui.cpp
+++ b/src/terraform_gui.cpp
@@ -40,7 +40,7 @@
void CcTerraform(const CommandCost &result, TileIndex tile, uint32 p1, uint32 p2)
{
if (result.Succeeded()) {
- if (_settings_client.sound.confirm) SndPlayTileFx(SND_1F_SPLAT, tile);
+ if (_settings_client.sound.confirm) SndPlayTileFx(SND_1F_SPLAT_OTHER, tile);
} else {
extern TileIndex _terraform_err_tile;
SetRedErrorSquare(_terraform_err_tile);
@@ -88,7 +88,7 @@ static void GenerateRockyArea(TileIndex end, TileIndex start)
success = true;
}
- if (success && _settings_client.sound.confirm) SndPlayTileFx(SND_1F_SPLAT, end);
+ if (success && _settings_client.sound.confirm) SndPlayTileFx(SND_1F_SPLAT_OTHER, end);
}
/**
@@ -409,7 +409,7 @@ static void CommonRaiseLowerBigLand(TileIndex tile, int mode)
if (ta.w == 0 || ta.h == 0) return;
- if (_settings_client.sound.confirm) SndPlayTileFx(SND_1F_SPLAT, tile);
+ if (_settings_client.sound.confirm) SndPlayTileFx(SND_1F_SPLAT_OTHER, tile);
uint h;
if (mode != 0) {