From ab413257c3a23f535e99f8f61468382c73bc4adb Mon Sep 17 00:00:00 2001 From: tille Date: Fri, 28 Jun 2002 14:56:10 +0000 Subject: cmader impl. 2 new games --- (limited to 'noncore/games/solitaire/patiencecardgame.cpp') diff --git a/noncore/games/solitaire/patiencecardgame.cpp b/noncore/games/solitaire/patiencecardgame.cpp index fc91b26..1b38072 100644 --- a/noncore/games/solitaire/patiencecardgame.cpp +++ b/noncore/games/solitaire/patiencecardgame.cpp @@ -194,10 +194,8 @@ bool PatienceCardGame::mousePressCard( Card *card, QPoint p ) item->flipTo( 30, (int)item->y() ); else item->flipTo( 35, (int)item->y() ); - } else { - // fix from cmader by tille - return false; - } + } else return FALSE; // <- was missing, caused facedown card to react + // to clicking, which is wrong moving = NULL; moved = FALSE; -- cgit v0.9.0.2