From 66635e17e0fc82099ae859b1ac4ff593840a3a26 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20R=C3=B8dal?= Date: Thu, 1 Oct 2009 18:40:04 +0200 Subject: Changed walking indicator to show status instead of action. --- mazescene.cpp | 4 ++-- 1 file 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 &lights, const char *map, int width, int height) -- cgit v1.2.3