Summary: | Rotation keys reversed in Kblocks 0.3 | ||
---|---|---|---|
Product: | [Applications] kblocks | Reporter: | Jesper Goll <jesper> |
Component: | general | Assignee: | Zhongjie Cai <squall.leonhart.cai> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kde-games-bugs, schwarzer |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | openSUSE | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Jesper Goll
2011-03-15 20:34:34 UTC
I can confirm the issue. After a short look at the code, I came up with this patch (really, a short look, and I am not able to compile currently, so could anyone test this please?) Index: KBlocksKeyboardPlayer.cpp =================================================================== --- KBlocksKeyboardPlayer.cpp (revision 1225051) +++ KBlocksKeyboardPlayer.cpp (working copy) @@ -196,7 +196,7 @@ } else { - mpGame->setCurrentPiece(0, 0, 1); + mpGame->setCurrentPiece(0, 0, -1); } } @@ -212,6 +212,6 @@ } else { - mpGame->setCurrentPiece(0, 0, -1); + mpGame->setCurrentPiece(0, 0, 1); } } It'll do. Anyone could test it. Ok, tested on another box and it works. :) SVN commit 1225074 by schwarzer: Fix swapped rotation direction. BUG: 268581 M +2 -2 KBlocksKeyboardPlayer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1225074 SVN commit 1225076 by schwarzer: Fix swapped rotation direction. BUG: 268581 M +2 -2 KBlocksKeyboardPlayer.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=1225076 |