summaryrefslogtreecommitdiff
path: root/noncore/games/solitaire/patiencecardgame.cpp
authortille <tille>2002-06-28 14:56:10 (UTC)
committer tille <tille>2002-06-28 14:56:10 (UTC)
commitab413257c3a23f535e99f8f61468382c73bc4adb (patch) (side-by-side diff)
tree63834da1738157e52b67550d4e71058c6710f1ff /noncore/games/solitaire/patiencecardgame.cpp
parentd4626cc76127b7022c8555ea11afbb289714c851 (diff)
downloadopie-ab413257c3a23f535e99f8f61468382c73bc4adb.zip
opie-ab413257c3a23f535e99f8f61468382c73bc4adb.tar.gz
opie-ab413257c3a23f535e99f8f61468382c73bc4adb.tar.bz2
cmader <chris@mediakreativwerk.de> impl. 2 new games
Diffstat (limited to 'noncore/games/solitaire/patiencecardgame.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r--noncore/games/solitaire/patiencecardgame.cpp6
1 files changed, 2 insertions, 4 deletions
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;