summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2009-10-01 18:40:04 +0200
committerSamuel Rødal <sroedal@trolltech.com>2009-10-01 18:40:04 +0200
commit66635e17e0fc82099ae859b1ac4ff593840a3a26 (patch)
tree76b99a90f48f5620386dd459bf6872276fe0e4cd
parent180996ae0031c3eb47079d5d9a11e32c81f91faa (diff)
Changed walking indicator to show status instead of action.
-rw-r--r--mazescene.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/mazescene.cpp b/mazescene.cpp
index c99aec4..03b4c1c 100644
--- a/mazescene.cpp
+++ b/mazescene.cpp
@@ -174,9 +174,9 @@ void WalkingItem::mousePressEvent(QGraphicsSceneMouseEvent *event)
void WalkingItem::updatePixmap()
{
if (m_walking)
- setPixmap(m_standingPixmap);
- else
setPixmap(m_walkingPixmap);
+ else
+ setPixmap(m_standingPixmap);
}
MazeScene::MazeScene(const QVector<Light> &lights, const char *map, int width, int height)