diff options
Diffstat (limited to 'pacman-c++/audio.cpp')
| -rw-r--r-- | pacman-c++/audio.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/pacman-c++/audio.cpp b/pacman-c++/audio.cpp index ad6eed1..d627c75 100644 --- a/pacman-c++/audio.cpp +++ b/pacman-c++/audio.cpp | |||
| @@ -105,9 +105,7 @@ void AudioManager::play(Sound::Type sound) | |||
| 105 | return; | 105 | return; |
| 106 | } | 106 | } |
| 107 | 107 | ||
| 108 | AudioPlayer *player = audioPlayer(); | 108 | audioPlayer()->play(sound); |
| 109 | player->setCurrentSource(Phonon::MediaSource(m_sounds[sound])); | ||
| 110 | player->play(); | ||
| 111 | } | 109 | } |
| 112 | 110 | ||
| 113 | void AudioManager::enqueue(Sound::Type sound) | 111 | void AudioManager::enqueue(Sound::Type sound) |
