Diffstat (limited to 'noncore/games/solitaire/cardpile.cpp') (more/less context) (show whitespace changes)
-rw-r--r-- | noncore/games/solitaire/cardpile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noncore/games/solitaire/cardpile.cpp b/noncore/games/solitaire/cardpile.cpp index 0b738d2..3b15e93 100644 --- a/noncore/games/solitaire/cardpile.cpp +++ b/noncore/games/solitaire/cardpile.cpp | |||
@@ -104,3 +104,3 @@ void CardPile::writeConfig( Config& cfg, QString name ) { | |||
104 | cardStr.sprintf( "%i", numberOfCards ); | 104 | cardStr.sprintf( "%i", numberOfCards ); |
105 | int val = (int)card->getValue() - 1 + ( (int)card->getSuit() - 1 ) * 13; | 105 | int val = (int)card->getValue()-1 + ((int)card->getSuit()-1)*13 + (int)card->getDeckNumber()*52; |
106 | cfg.writeEntry( "Card" + cardStr, val ); | 106 | cfg.writeEntry( "Card" + cardStr, val ); |