summaryrefslogtreecommitdiff
path: root/src/sound.cpp
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-16 22:32:39 +0200
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-04-16 22:53:10 +0200
commit18cba14c0f80f6ae7db883ce4d6abbf24728f07d (patch)
treefe67a7d059647d23d7285f90fb5b8aca076311de /src/sound.cpp
parent255c491375005abb1d2de22fa5aa1a821ac3a4f6 (diff)
downloadmana-18cba14c0f80f6ae7db883ce4d6abbf24728f07d.tar.gz
mana-18cba14c0f80f6ae7db883ce4d6abbf24728f07d.tar.bz2
mana-18cba14c0f80f6ae7db883ce4d6abbf24728f07d.tar.xz
mana-18cba14c0f80f6ae7db883ce4d6abbf24728f07d.zip
Some more cleanups
Nothing in particular worth mentioning.
Diffstat (limited to 'src/sound.cpp')
-rw-r--r--src/sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound.cpp b/src/sound.cpp
index 3686d009..a366f28d 100644
--- a/src/sound.cpp
+++ b/src/sound.cpp
@@ -212,7 +212,7 @@ void Sound::fadeOutMusic(int ms)
void Sound::playSfx(const std::string &path)
{
- if (!mInstalled || path.length() == 0)
+ if (!mInstalled || path.empty())
return;
ResourceManager *resman = ResourceManager::getInstance();