File diff r21327:e996efc4b558 → r21328:def02569ef03
src/terraform_gui.cpp
Show inline comments
 
@@ -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 
 
		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(Tile
 

	
 
		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) {