summaryrefslogtreecommitdiffstats
path: root/mazescene.cpp
diff options
context:
space:
mode:
authorSamuel Rødal <sroedal@trolltech.com>2008-11-27 10:08:11 +0100
committerSamuel Rødal <sroedal@trolltech.com>2008-11-27 10:08:11 +0100
commit32da3fad63e11ade63a0c0d831ba158fc3615d80 (patch)
tree8b0d1b298fae831ab02a576dd7058be5e5e7784e /mazescene.cpp
parentbd3e61908a04447da073047bd62892b30572b43f (diff)
Must call update() to ensure background is also repainted correctly.
Diffstat (limited to 'mazescene.cpp')
-rw-r--r--mazescene.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/mazescene.cpp b/mazescene.cpp
index 89fd05b..676cd40 100644
--- a/mazescene.cpp
+++ b/mazescene.cpp
@@ -389,6 +389,7 @@ void MazeScene::move()
foreach (WallItem *item, m_walls)
updateTransform(item, item->a(), item->b(), m_cameraPos, m_cameraAngle, m_walkTime * 0.001);
setFocusItem(0); // setVisible(true) might give focus to one of the items
+ update();
}
}