diff options
| author | manuel <manuel@mausz.at> | 2011-05-10 22:28:58 +0200 |
|---|---|---|
| committer | manuel <manuel@mausz.at> | 2011-05-10 22:28:58 +0200 |
| commit | 1a6c940ed9d7f6136da0e13148314072665342c5 (patch) | |
| tree | 467b259d966ea1ddf9f66440066f57cf3eed68c4 /pacman-c++/client/mainwidget.cpp | |
| parent | cc1bb779661217171418adb0ddbd1ce01815463b (diff) | |
| download | foop-1a6c940ed9d7f6136da0e13148314072665342c5.tar.gz foop-1a6c940ed9d7f6136da0e13148314072665342c5.tar.bz2 foop-1a6c940ed9d7f6136da0e13148314072665342c5.zip | |
- refactorized audio once more: audio is now a plugin which gets loaded at runtime
- thus server has no dependency to phonon any more
- remove client dependency to qtnetwork
- fix enet deinitialization on windows
Diffstat (limited to 'pacman-c++/client/mainwidget.cpp')
| -rw-r--r-- | pacman-c++/client/mainwidget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman-c++/client/mainwidget.cpp b/pacman-c++/client/mainwidget.cpp index f6f088b..f2e3f46 100644 --- a/pacman-c++/client/mainwidget.cpp +++ b/pacman-c++/client/mainwidget.cpp | |||
| @@ -231,7 +231,7 @@ void MainWidget::tick(ENetEvent *event) | |||
| 231 | timer->setInterval(Sound::length[Sound::Intro] + Constants::tick); | 231 | timer->setInterval(Sound::length[Sound::Intro] + Constants::tick); |
| 232 | connect(timer, SIGNAL(timeout()), this, SLOT(startGame())); | 232 | connect(timer, SIGNAL(timeout()), this, SLOT(startGame())); |
| 233 | timer->start(); | 233 | timer->start(); |
| 234 | AudioManager::self()->play(Sound::Intro, true); | 234 | AudioManager::self()->audioPlayer()->play(Sound::Intro); |
| 235 | } | 235 | } |
| 236 | 236 | ||
| 237 | Transmission::map_t map = Util::createUninitialisedMap(); | 237 | Transmission::map_t map = Util::createUninitialisedMap(); |
