From e8cd568f4e3f15380833a780cef44289a0524345 Mon Sep 17 00:00:00 2001 From: Marja Hassinen Date: Sat, 2 Jan 2010 23:41:55 +0200 Subject: [PATCH] Minor fixes. --- src/game.cpp | 4 ++-- src/game.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/game.cpp b/src/game.cpp index 3a71e3f..6093fa3 100644 --- a/src/game.cpp +++ b/src/game.cpp @@ -561,8 +561,6 @@ LevelSwitcher::LevelSwitcher(GameController* gameController, connect(startButton, SIGNAL(clicked()), this, SLOT(onStartClicked())); connect(gameController, SIGNAL(levelPassed(int)), this, SLOT(onLevelPassed(int))); connect(gameController, SIGNAL(levelFailed()), this, SLOT(onLevelFailed())); - startTitle->setText("Starting a new game."); - scoreLabel->setText("0"); chooseLevelCollection(); } @@ -598,6 +596,8 @@ void LevelSwitcher::onLevelCollectionChosen() level = 0; totalScore = 0; + startTitle->setText("Starting a new game."); + scoreLabel->setText("0"); initiateLevel(); } diff --git a/src/game.h b/src/game.h index 99af4b2..61cdd79 100644 --- a/src/game.h +++ b/src/game.h @@ -85,7 +85,7 @@ static const Piece ppieces[] = { {PieceCorners, 0, true, 4, 0, // 8 {DirLeft, DirDown, DirRight, DirUp}}, {PieceCorners, 90, true, 4, 1, // 9 - {DirUp, DirLeft, DirRight, DirDown}}, + {DirRight, DirDown, DirLeft, DirUp}}, {PieceStart, 0, false, 0, 0, // 10 {DirLeft, DirNone, DirNone, DirNone}}, {PieceStart, 90, false, 0, 0, // 11 -- 1.7.9.5