Commit 4dc49163 authored by Bruno Coudoin's avatar Bruno Coudoin

avoid double explosion at the game end


svn path=/branches/gcomprixogoo/; revision=3599
parent e24bff85
This diff is collapsed.
......@@ -1601,6 +1601,9 @@ static void submarine_explosion()
{
GdkPixbuf *pixmap = NULL;
if (submarine_explosion)
return;
submarine_destroyed = TRUE;
gamewon = FALSE;
gc_sound_play_ogg("sounds/crash.wav", NULL);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment