From 8b13a88127a70da7a4e307df828d65811ae5d0f1 Mon Sep 17 00:00:00 2001 From: manuel Date: Mon, 2 May 2011 17:12:11 +0200 Subject: smaller output --- pacman-c++/actor.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'pacman-c++/actor.cpp') diff --git a/pacman-c++/actor.cpp b/pacman-c++/actor.cpp index 9c2d2fa..9d22e1b 100644 --- a/pacman-c++/actor.cpp +++ b/pacman-c++/actor.cpp @@ -62,12 +62,11 @@ Actor::Actor(Color::Color color, bool local, QGraphicsItem *parent) for (int i = 0; i < 11; i++) { PixmapItem *img = new PixmapItem(m_pix, this); - img->setZValue(zValue() * 10); m_images.append(img); int x = i * Constants::sprite_offset + Constants::sprite_margin; int y = 5 * Constants::sprite_offset + Constants::sprite_margin; img->setSprite(x, y, Constants::field_size.width, Constants::field_size.height); - img->setZValue(zValue()); + img->setZValue(zValue() * 10); img->setVisible(false); QPropertyAnimation *fadein = new QPropertyAnimation(img, "visible", m_dieing); -- cgit v1.2.3