summaryrefslogtreecommitdiffstats
path: root/pacman-c++/point.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'pacman-c++/point.cpp')
-rw-r--r--pacman-c++/point.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/pacman-c++/point.cpp b/pacman-c++/point.cpp
index 35266f6..54c0ee4 100644
--- a/pacman-c++/point.cpp
+++ b/pacman-c++/point.cpp
@@ -28,5 +28,11 @@ bool Point::enter(Actor *actor)
28 28
29void Point::onDie(Actor *actor) 29void Point::onDie(Actor *actor)
30{ 30{
31 //TODO 31 AudioPlayer *player = actor->wakaPlayer();
32 qDebug() << "onDie" << player;
33 if (player == NULL)
34 return;
35 if (player->state() != Phonon::PlayingState)
36 player->play();
37 player->setMuted(false);
32} 38}