[aisleriot] eliminator: Use hint-move instead of get-name.
- From: Vincent Povirk <vpovirk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aisleriot] eliminator: Use hint-move instead of get-name.
- Date: Sun, 5 May 2013 22:13:50 +0000 (UTC)
commit d756edddc46338c73c0bf91b4d55fdf58a9b673b
Author: Vincent Povirk <madewokherd gmail com>
Date: Sun May 5 15:49:14 2013 -0500
eliminator: Use hint-move instead of get-name.
For bug 551859.
games/eliminator.scm | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/games/eliminator.scm b/games/eliminator.scm
index c3687ad..5939f92 100644
--- a/games/eliminator.scm
+++ b/games/eliminator.scm
@@ -191,7 +191,7 @@
(define (get-hint)
(let ((x (find-possible-move)))
(if (list? x)
- (list 1 (get-name (get-top-card (car x))) (get-name (get-top-card (cadr x))))
+ (hint-move (car x) 1 (cadr x))
(if x
(list 0 (_"Play a card to foundation."))
(list 0 (_"No moves."))
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]