Fixed all pieces movable after shuffle
authortimoph <timop.harkonen@gmail.com>
Sat, 2 Jan 2010 15:23:49 +0000 (15:23 +0000)
committertimoph <timop.harkonen@gmail.com>
Sat, 2 Jan 2010 15:23:49 +0000 (15:23 +0000)
git-svn-id: file:///svnroot/impuzzle/trunk@6 e6bec12f-0854-4cc4-ad26-6875f1509f77

src/gameview.cpp

index 5b0a689..2f70c51 100644 (file)
@@ -156,6 +156,8 @@ void GameView::shufflePieces()
     emptyPlace_ = pieces_.at(hiddenPiece)->currentPlace();
     pieces_.at(hiddenPiece)->hide();
     hiddenIndex_ = hiddenPiece;
+
+    setMovingPieces();
 }
 
 QPointF GameView::emptyPlace()