diff options
Diffstat (limited to 'pacman-c++/actor.cpp')
| -rw-r--r-- | pacman-c++/actor.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/pacman-c++/actor.cpp b/pacman-c++/actor.cpp index e8f5496..fb4b38a 100644 --- a/pacman-c++/actor.cpp +++ b/pacman-c++/actor.cpp | |||
| @@ -13,6 +13,8 @@ Actor::Actor(Color::Color color, bool local, QGraphicsItem *parent) | |||
| 13 | : GameEntity(color, parent),m_direction(Actor::None), m_local(local), | 13 | : GameEntity(color, parent),m_direction(Actor::None), m_local(local), |
| 14 | m_wakaPlayer(NULL), m_roundPoints(0), m_gamePoints(0) | 14 | m_wakaPlayer(NULL), m_roundPoints(0), m_gamePoints(0) |
| 15 | { | 15 | { |
| 16 | m_type = Type; | ||
| 17 | |||
| 16 | /* 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 |
| 17 | * but we need a sprite for the collision detection | 19 | * but we need a sprite for the collision detection |
| 18 | */ | 20 | */ |
