[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    KDE/kdegames/kpat/patsolve
From:       Parker Coates <parker.coates () kdemail ! net>
Date:       2010-01-16 20:32:23
Message-ID: 1263673943.191128.18812.nullmailer () svn ! kde ! org
[Download RAW message or body]

SVN commit 1075813 by coates:

Fix bug 215136 which caused the Klondike demo to get stuck.

The demo mode was getting stuck, because I had prevented moving a
single card back from the waste to the stock (since it was pointless),
but the solver was still suggesting moves of this type. This brings the
solver back into agreement with the DealerScene.

BUG:215136

 M  +1 -1      klondikesolver.cpp  


--- trunk/KDE/kdegames/kpat/patsolve/klondikesolver.cpp #1075812:1075813
@@ -432,7 +432,7 @@
         }
     }
 
-    if ( !Wlen[8] && Wlen[7] )
+    if ( Wlen[8] == 0 && Wlen[7] > 1 )
     {
         mp->card_index = 0;
         mp->from = 7;
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic