Having looked through the codebase a little more, I think the attached
would be more appropriate.

-- 
Daniel Watkins (Odd_Bloke)
=== modified file 'code/gameplay.py'
--- code/gameplay.py	2008-09-05 20:23:52 +0000
+++ code/gameplay.py	2008-09-05 20:52:41 +0000
@@ -597,10 +597,7 @@
         self.ticks = 0
         self.level = 0
         self.donehud = 0
-        sound = snd.fetch('whip')
-        self.whip = None
-        if sound:
-            self.whip = sound.play(-1)
+        snd.play('whip')
         for g in self.guardobjs:
             if g.killed == 1:
                 self.smokeobjs.append(objguard.TeleGuard(g))
@@ -630,10 +627,7 @@
     def gamestart_end(self):
         if game.comments >= 1:
             self.textobjs.append(objtext.Text('Begin'))
-        if self.whip:
-            self.whip.stop()
         del self.ticks
-        del self.whip
 
 #game over
     def gameover_start(self):

Attachment: signature.asc
Description: PGP signature

Reply via email to