[aisleriot] No need to reset the features
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [aisleriot] No need to reset the features
- Date: Mon, 18 Apr 2011 21:04:12 +0000 (UTC)
commit 0c26181342965c5e3354869bdce1018fd1f336dd
Author: Christian Persch <chpe gnome org>
Date: Mon Apr 18 23:03:09 2011 +0200
No need to reset the features
We already reset the features to 0 in aisleriot_game_load_game(),
so there's no need to do it again in sol.scm.
games/sol.scm | 8 --------
1 files changed, 0 insertions(+), 8 deletions(-)
---
diff --git a/games/sol.scm b/games/sol.scm
index 2fc588d..3cadd98 100644
--- a/games/sol.scm
+++ b/games/sol.scm
@@ -21,18 +21,10 @@
(define scores-disabled 2)
(define dealable-feature 4)
-(define (reset-features) (set-feature-word! 0))
-
(define (set-features . feature-list)
(set-feature-word! (+ (get-feature-word)
(apply + feature-list))))
-;; Sol.scm gets evaluated whenever game types are switched,
-;; this makes sure that the old settings are gone.
-(reset-features)
-
-;; Constants:
-
(define jack 11)
(define queen 12)
(define king 13)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]