# HG changeset patch # User Wuzzy # Date 1520532846 -3600 # Node ID 991db8fc45eb2133a23e804d6714ba24a57ee2fd # Parent 11f23afd84f2fc620b633575e7a897af8b74f9e9 Racer: No longer play Incoming or Missed sound diff -r 11f23afd84f2 -r 991db8fc45eb ChangeLog.txt --- a/ChangeLog.txt Thu Mar 08 19:08:21 2018 +0100 +++ b/ChangeLog.txt Thu Mar 08 19:14:06 2018 +0100 @@ -54,7 +54,7 @@ + Control: Always remove TimeBox and Resurrector * Battalion: Some texts in the mission panel were wrong and misleading * Construction Mode: Remove drill strike if added by weapon scheme (it's broken) - * Construction Mode: No longer play Incoming voice for building stuff, fix other sound issues + * Construction Mode, Racer: No longer play Incoming voice for building stuff, fix other sound issues * Capture the Flag: Fix many bugs caused by playing with >2 teams * Capture the Flag: Properly place flag when first hog uses kamikaze or TimeBox * Capture the Flag: Fix flag not being dropped when carrier uses piano strike diff -r 11f23afd84f2 -r 991db8fc45eb share/hedgewars/Data/Scripts/Multiplayer/Racer.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua Thu Mar 08 19:08:21 2018 +0100 +++ b/share/hedgewars/Data/Scripts/Multiplayer/Racer.lua Thu Mar 08 19:14:06 2018 +0100 @@ -666,6 +666,9 @@ SendHealthStatsOff() SendAchievementsStatsOff() + SetSoundMask(sndIncoming, true) + SetSoundMask(sndMissed, true) + roundN = 0 lastRound = TotalRounds RoundHasChanged = false @@ -735,6 +738,7 @@ if placedByUser then AddCaption(string.format(loc("Waypoint placed. Available points remaining: %d"), wpLimit-wpCount)) + PlaySound(sndPlaced) end end end