diff options
Diffstat (limited to 'pacman-c++/point.cpp')
| -rw-r--r-- | pacman-c++/point.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/pacman-c++/point.cpp b/pacman-c++/point.cpp index 54c0ee4..1943756 100644 --- a/pacman-c++/point.cpp +++ b/pacman-c++/point.cpp | |||
| @@ -8,7 +8,7 @@ namespace | |||
| 8 | } | 8 | } |
| 9 | 9 | ||
| 10 | Point::Point(QGraphicsItem *parent) | 10 | Point::Point(QGraphicsItem *parent) |
| 11 | : PixmapItem(parent) | 11 | : GameEntity(parent) |
| 12 | { | 12 | { |
| 13 | /* empty object for servers */ | 13 | /* empty object for servers */ |
| 14 | if (Constants::server) | 14 | if (Constants::server) |
| @@ -34,5 +34,4 @@ void Point::onDie(Actor *actor) | |||
| 34 | return; | 34 | return; |
| 35 | if (player->state() != Phonon::PlayingState) | 35 | if (player->state() != Phonon::PlayingState) |
| 36 | player->play(); | 36 | player->play(); |
| 37 | player->setMuted(false); | ||
| 38 | } | 37 | } |
