From kde-commits Sat Apr 16 02:54:32 2011 From: Parker Coates Date: Sat, 16 Apr 2011 02:54:32 +0000 To: kde-commits Subject: KDE/kdegames/kpat/patsolve Message-Id: <20110416025432.4A635AC8D2 () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=130292251928072 SVN commit 1228140 by coates: Make the Spider solver check all cards are face up before moving runs. This was simply a missing check. BUG:265857 M +2 -1 spidersolver.cpp --- trunk/KDE/kdegames/kpat/patsolve/spidersolver.cpp #1228139:1228140 @@ -229,7 +229,8 @@ bool stroke = true; for ( int l = 0; l < 13; ++l ) { - if ( RANK( W[w][Wlen[w]-l-1] ) != l+1 || + if ( DOWN( W[w][Wlen[w]-l-1] ) || + RANK( W[w][Wlen[w]-l-1] ) != l+1 || SUIT( W[w][Wlen[w]-l-1] ) != ace_suit ) { stroke = false;