summaryrefslogtreecommitdiffstats
path: root/pacman-c++/actor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/actor.cpp')
-rw-r--r--pacman-c++/actor.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman-c++/actor.cpp b/pacman-c++/actor.cpp
index 9d35d47..cde20cd 100644
--- a/pacman-c++/actor.cpp
+++ b/pacman-c++/actor.cpp
@@ -14,7 +14,7 @@ static QVariant myBooleanInterpolator(const bool &start, const bool &end, qreal
14Actor::Actor(Color::Color color, QGraphicsItem *parent) 14Actor::Actor(Color::Color color, QGraphicsItem *parent)
15 : PixmapItem(parent), m_color(color), m_direction(Actor::None) 15 : PixmapItem(parent), m_color(color), m_direction(Actor::None)
16{ 16{
17 m_pix = ":/" + QString("actor%1").arg(m_color); 17 m_pix = ":/" + QString("actor%1").arg((m_color >> 1) + 1);
18 // DON'T set any pixmap here. we've a pixmap in the animation 18 // DON'T set any pixmap here. we've a pixmap in the animation
19 //setPixmap(m_pix); 19 //setPixmap(m_pix);
20 // higher player "over" lower player 20 // higher player "over" lower player