gcompris r3391 - branches/GCOMPRIS_8_3/src/boards
- From: bcoudoin svn gnome org
- To: svn-commits-list gnome org
- Subject: gcompris r3391 - branches/GCOMPRIS_8_3/src/boards
- Date: Fri, 2 May 2008 15:29:09 +0100 (BST)
Author: bcoudoin
Date: Fri May 2 14:29:09 2008
New Revision: 3391
URL: http://svn.gnome.org/viewvc/gcompris?rev=3391&view=rev
Log:
* src/boards/machpuzzle.c: (minigolf_create_item): fixed random
offset bug in which it was possible to have the ball placed on the
top line which was triggering the border touch sounds endlessly.
Modified:
branches/GCOMPRIS_8_3/src/boards/machpuzzle.c
Modified: branches/GCOMPRIS_8_3/src/boards/machpuzzle.c
==============================================================================
--- branches/GCOMPRIS_8_3/src/boards/machpuzzle.c (original)
+++ branches/GCOMPRIS_8_3/src/boards/machpuzzle.c Fri May 2 14:29:09 2008
@@ -244,7 +244,8 @@
NULL));
create_machine_item(MACH_HOLE, 730.0, 260.0);
- create_machine_item(MACH_BASKET_BALL, (double)g_random_int_range(60, 150), (double)RAND(60, 400));
+ create_machine_item(MACH_BASKET_BALL, (double)g_random_int_range(60, 150),
+ (double)RAND(70, 400));
return NULL;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]