gcompris r3599 - in branches/gcomprixogoo/src: paintings-activity/resources/paintings submarine-activity
- From: bcoudoin svn gnome org
- To: svn-commits-list gnome org
- Subject: gcompris r3599 - in branches/gcomprixogoo/src: paintings-activity/resources/paintings submarine-activity
- Date: Sat, 8 Nov 2008 16:55:20 +0000 (UTC)
Author: bcoudoin
Date: Sat Nov 8 16:55:19 2008
New Revision: 3599
URL: http://svn.gnome.org/viewvc/gcompris?rev=3599&view=rev
Log:
avoid double explosion at the game end
Removed:
branches/gcomprixogoo/src/paintings-activity/resources/paintings/Makefile.in
Modified:
branches/gcomprixogoo/src/submarine-activity/submarine.c
Modified: branches/gcomprixogoo/src/submarine-activity/submarine.c
==============================================================================
--- branches/gcomprixogoo/src/submarine-activity/submarine.c (original)
+++ branches/gcomprixogoo/src/submarine-activity/submarine.c Sat Nov 8 16:55:19 2008
@@ -1601,6 +1601,9 @@
{
GdkPixbuf *pixmap = NULL;
+ if (submarine_explosion)
+ 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]