gcompris r3619 - trunk/src/boards
- From: bcoudoin svn gnome org
- To: svn-commits-list gnome org
- Subject: gcompris r3619 - trunk/src/boards
- Date: Tue, 18 Nov 2008 00:51:02 +0000 (UTC)
Author: bcoudoin
Date: Tue Nov 18 00:51:02 2008
New Revision: 3619
URL: http://svn.gnome.org/viewvc/gcompris?rev=3619&view=rev
Log:
double crash protection.
Modified:
trunk/src/boards/submarine.c
Modified: trunk/src/boards/submarine.c
==============================================================================
--- trunk/src/boards/submarine.c (original)
+++ trunk/src/boards/submarine.c Tue Nov 18 00:51:02 2008
@@ -1641,6 +1641,9 @@
static void submarine_explosion() {
GdkPixbuf *pixmap = NULL;
+ if (submarine_destroyed)
+ return;
+
submarine_destroyed = TRUE;
gamewon = FALSE;
gc_sound_play_ogg("sounds/crash.wav", NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]