author | tille <tille> | 2002-06-28 14:56:10 (UTC) |
---|---|---|
committer | tille <tille> | 2002-06-28 14:56:10 (UTC) |
commit | ab413257c3a23f535e99f8f61468382c73bc4adb (patch) (unidiff) | |
tree | 63834da1738157e52b67550d4e71058c6710f1ff /noncore/games/solitaire/patiencecardgame.cpp | |
parent | d4626cc76127b7022c8555ea11afbb289714c851 (diff) | |
download | opie-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.cpp | 6 |
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 | |||
@@ -193,12 +193,10 @@ bool PatienceCardGame::mousePressCard( Card *card, QPoint p ) | |||
193 | if ( qt_screen->deviceWidth() < 200 ) | 193 | if ( qt_screen->deviceWidth() < 200 ) |
194 | item->flipTo( 30, (int)item->y() ); | 194 | item->flipTo( 30, (int)item->y() ); |
195 | else | 195 | else |
196 | item->flipTo( 35, (int)item->y() ); | 196 | item->flipTo( 35, (int)item->y() ); |
197 | } else { | 197 | } else return FALSE; // <- was missing, caused facedown card to react |
198 | // fix from cmader by tille | 198 | // to clicking, which is wrong |
199 | return false; | ||
200 | } | ||
201 | moving = NULL; | 199 | moving = NULL; |
202 | moved = FALSE; | 200 | moved = FALSE; |
203 | 201 | ||
204 | // move two other cards if we flip three at a time | 202 | // move two other cards if we flip three at a time |