summaryrefslogtreecommitdiffstats
path: root/TemplePushing.c4s/Script.c
diff options
context:
space:
mode:
authorMittendrein Markus <maxmitti@gmx.net>2015-07-29 20:51:50 +0200
committerMittendrein Markus <maxmitti@gmx.net>2015-07-29 20:51:50 +0200
commite14f3eed92bba6ac38080cbe06489986a12469b6 (patch)
treec3f962a412c1ea0dbddcfbf20d7a7717cba96596 /TemplePushing.c4s/Script.c
parent85def752866d7de925f7fdedba6fac4229aa3cfc (diff)
downloadtempelschubsen-e14f3eed92bba6ac38080cbe06489986a12469b6.tar.gz
tempelschubsen-e14f3eed92bba6ac38080cbe06489986a12469b6.zip
Remove MELE in FxGameOverStop to avoid playing "Trumpet.wav" when continuing a finished game.
Diffstat (limited to 'TemplePushing.c4s/Script.c')
-rw-r--r--TemplePushing.c4s/Script.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/TemplePushing.c4s/Script.c b/TemplePushing.c4s/Script.c
index 5df463a..00c1bf6 100644
--- a/TemplePushing.c4s/Script.c
+++ b/TemplePushing.c4s/Script.c
@@ -508,6 +508,7 @@ global func FxGameOverStop(object pTarget, int iEffectNumber)
{
Sound("Trumpet", 1);
GameOver();
+ RemoveAll(MELE);
}
func GetPlayers()
@@ -714,4 +715,4 @@ func ToggleAmbienceSounds(int player)
SetPlrExtraData(player, PlrData_EnableAmbienceSounds, preference);
DoAmbienceSounds(player);
-} \ No newline at end of file
+}