Revision 1229903

Go back to digest for 8th May 2011

Bug Fixes in Games

Parker Coates committed changes in /trunk/KDE/kdegames/kpat/libkcardgame/kcardscene.cpp:

Correct card ordering in KCardScene::flipCardsToPile().

When flipping multiple cards from one pile to another, we have to
reverse the stacking order of the cards. The topmost card on the source
pile becomes the bottommost card on the destination pile. This fixes
the waste to stock recycling in both Klondike and Forty & Eight.

The previous behaviour wasn't necessarily wrong, but it did represent a
maneuver that can't really be done with real cards in a single move,
hence it wasn't the correct behaviour for the games in question.

File Changes

Modified 1 files
  • /trunk/KDE/kdegames/kpat/libkcardgame/kcardscene.cpp
1 files changed in total