--- a/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua Mon Apr 18 22:34:39 2016 +0200
+++ b/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua Mon Apr 18 22:44:26 2016 +0200
@@ -1320,6 +1320,9 @@
placedFrame[placedCount] = sFrame
placedSprite[placedCount] = reducedSpriteIDArray[pIndex]
placementSucceeded = CallPlaceSprite(placedCount)
+ if placementSucceeded then
+ PlaySound(sndPlaced)
+ end
else
placedType[placedCount] = "bogus"
SelectClosestSprite()
@@ -1335,6 +1338,7 @@
else
PlaceWaypoint(x,y)
placedCount = placedCount - 1
+ PlaySound(sndPlaced)
end
end