From kde-commits Wed Jan 26 11:12:47 2011 From: Stephan Kulow Date: Wed, 26 Jan 2011 11:12:47 +0000 To: kde-commits Subject: KDE/kdegames/kpat/patsolve Message-Id: <20110126111247.CC7A0AC8BA () svn ! kde ! org> X-MARC-Message: https://marc.info/?l=kde-commits&m=129604041401144 SVN commit 1217206 by coolo: allow pointless moving of kings if redeals are ahead, grandf is a strange game BUG: 251632 M +2 -0 grandfsolver.cpp --- trunk/KDE/kdegames/kpat/patsolve/grandfsolver.cpp #1217205:1217206 @@ -323,6 +323,8 @@ { if ( l != Wlen[i]-1 ) allowed = 4; + else if (m_redeal < 2) + allowed = 1; } // TODO: there is no point in moving if we're not opening anything // e.g. if both i and j have perfect runs below the cards