diff options
Diffstat (limited to 'pacman-c++/common/actor.cpp')
| -rw-r--r-- | pacman-c++/common/actor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/pacman-c++/common/actor.cpp b/pacman-c++/common/actor.cpp index 83a54e3..de8d77e 100644 --- a/pacman-c++/common/actor.cpp +++ b/pacman-c++/common/actor.cpp | |||
| @@ -296,21 +296,21 @@ void Actor::die() | |||
| 296 | setZValue(zValue() * 10); | 296 | setZValue(zValue() * 10); |
| 297 | m_dieing->start(); | 297 | m_dieing->start(); |
| 298 | if (m_local) | 298 | if (m_local) |
| 299 | AudioManager::self()->audioPlayer()->play(Sound::Die); | 299 | AudioManager::self()->play(Sound::Die); |
| 300 | } | 300 | } |
| 301 | 301 | ||
| 302 | void Actor::eatingFruit() | 302 | void Actor::eatingFruit() |
| 303 | { | 303 | { |
| 304 | if (!m_local) | 304 | if (!m_local) |
| 305 | return; | 305 | return; |
| 306 | AudioManager::self()->audioPlayer()->play(Sound::EatingFruit); | 306 | AudioManager::self()->play(Sound::EatingFruit); |
| 307 | } | 307 | } |
| 308 | 308 | ||
| 309 | void Actor::eatingPacman() | 309 | void Actor::eatingPacman() |
| 310 | { | 310 | { |
| 311 | if (!m_local) | 311 | if (!m_local) |
| 312 | return; | 312 | return; |
| 313 | AudioManager::self()->audioPlayer()->play(Sound::EatingGhost); | 313 | AudioManager::self()->play(Sound::EatingGhost); |
| 314 | } | 314 | } |
| 315 | 315 | ||
| 316 | void Actor::startEating() | 316 | void Actor::startEating() |
