diff -r d52d79f35558 -r 11f23afd84f2 share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua Thu Mar 08 19:03:03 2018 +0100 +++ b/share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua Thu Mar 08 19:08:21 2018 +0100 @@ -1081,6 +1081,9 @@ -- Pay the price clanPower[GetHogClan(CurrentHedgehog)] = clanPower[GetHogClan(CurrentHedgehog)] - placedExpense RenderClanPower() + if cat[cIndex] == "Girder Placement Mode" or cat[cIndex] == "Rubber Placement Mode" then + PlaySound(sndPlaced) + end else if IsHogLocal(CurrentHedgehog) then AddCaption(loc("Invalid Placement"), colorMessageError, capgrpVolume) @@ -1203,6 +1206,17 @@ updated = true end + if curWep == amCMStructurePlacer or curWep == amCMCratePlacer or curWep == amCMObjectPlacer then + SetSoundMask(sndIncoming, true) + else + SetSoundMask(sndIncoming, false) + end + if curWep == amGirder or curWep == amRubber then + SetSoundMask(sndDenied, true) + else + SetSoundMask(sndDenied, false) + end + if updated then AddCaption(loc(cat[cIndex]), GetClanColor(GetHogClan(CurrentHedgehog)), capgrpMessage) showModeMessage()