On Tue, 2006-06-20 at 20:07 +0200, Karl Bartel wrote: > I just uploaded a new release. The code worked out quite different > than in the patch, because I wanted to add a "Sound on/off" switch > without adding an additional conditional around each line where a > sound is played. This bug should be fixed nevertheless. > I didn't manage to disable my sound card (well, I didn't try very > hard...) to verify this, so it would be great if you could let me > know whether it works for you.
The new version will crash if you don't have a sound card and toggle the sound on/off switch in the config menu. You can't call pygame.mixer.music.stop() without a working mixer. I've updated the 16-no_sound_device.dpatch to fix the problem and it's attached here. There are also a couple of typos still present in 0.8.1: data/doc/rules.html Line 21: s/seperated/separated/ src/gamephases.py Line 242: s/enemey's/enemy's/ John
16-no_sound_device.dpatch
Description: application/shellscript