Enlightenment CVS committal Author : pfritz Project : e17 Module : apps/elitaire
Dir : e17/apps/elitaire/src Modified Files: rules.cpp Log Message: improve the hint quality =================================================================== RCS file: /cvs/e/e17/apps/elitaire/src/rules.cpp,v retrieving revision 1.2 retrieving revision 1.3 diff -u -3 -r1.2 -r1.3 --- rules.cpp 9 Aug 2007 21:45:49 -0000 1.2 +++ rules.cpp 30 Dec 2007 15:17:16 -0000 1.3 @@ -240,7 +240,7 @@ while (it != it_end) { for (size_t to = 0; to < stacks.size(); to++) { - if (from != to && moveable(*it, to)) { + if (from != to && moveableCard(*it) && moveable(*it, to)) { hints->push_back(*it); break; } ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs