summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pacman-c++/common/audio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/pacman-c++/common/audio.cpp b/pacman-c++/common/audio.cpp
index fe259e2..3a98fbb 100644
--- a/pacman-c++/common/audio.cpp
+++ b/pacman-c++/common/audio.cpp
@@ -165,7 +165,7 @@ void AudioManager::preload()
165 Q_ASSERT(sounds.count() > 0); 165 Q_ASSERT(sounds.count() > 0);
166 for(unsigned i = 1; i <= sounds.count(); ++i) 166 for(unsigned i = 1; i <= sounds.count(); ++i)
167 m_sounds.append(new QFile(QString(":/sound/sound%1").arg(i), this)); 167 m_sounds.append(new QFile(QString(":/sound/sound%1").arg(i), this));
168 Q_ASSERT(m_sounds.count() != (sizeof(Sound::length) / sizeof(unsigned int))); 168 Q_ASSERT(m_sounds.count() == (sizeof(Sound::length) / sizeof(unsigned int)));
169} 169}
170 170
171bool AudioManager::tryLoadAudioPlugin(const QString &libraryname) 171bool AudioManager::tryLoadAudioPlugin(const QString &libraryname)