gnome-games r9030 - trunk/aisleriot/rules



Author: vpovirk
Date: Thu Apr  9 04:32:49 2009
New Revision: 9030
URL: http://svn.gnome.org/viewvc/gnome-games?rev=9030&view=rev

Log:
aisleriot: don't count failed double-clicks as a move in Westhaven

This fixes a test failure (see bug 569936).


Modified:
   trunk/aisleriot/rules/westhaven.scm

Modified: trunk/aisleriot/rules/westhaven.scm
==============================================================================
--- trunk/aisleriot/rules/westhaven.scm	(original)
+++ trunk/aisleriot/rules/westhaven.scm	Thu Apr  9 04:32:49 2009
@@ -171,7 +171,8 @@
 			 (+ 1 (get-value (get-top-card 5)))))
 		 (double-clicked-move slot-id 
 				      5
-				      (list (get-top-card slot-id))))))
+				      (list (get-top-card slot-id))))
+                (#t #f)))
       #f))
 
 (define (game-continuable)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]