diff options
author | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-16 22:57:39 +0200 |
---|---|---|
committer | Bjørn Lindeijer <bjorn@lindeijer.nl> | 2009-04-16 22:57:39 +0200 |
commit | 576972fb768b0e43d41bada49ad88c6431494f10 (patch) | |
tree | 755420a6c566a748233c06310062ea2cdfa280da /src/sound.cpp | |
parent | c6b4edf8cc635ddcb2a8b3c0cef38dd88fa73768 (diff) | |
parent | a0f7bc231d9c348ba86248dd8d0adfddbce453f7 (diff) | |
download | mana-576972fb768b0e43d41bada49ad88c6431494f10.tar.gz mana-576972fb768b0e43d41bada49ad88c6431494f10.tar.bz2 mana-576972fb768b0e43d41bada49ad88c6431494f10.tar.xz mana-576972fb768b0e43d41bada49ad88c6431494f10.zip |
Merge branch '0.0.29'
Diffstat (limited to 'src/sound.cpp')
-rw-r--r-- | src/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sound.cpp b/src/sound.cpp index e2663fa8..6fb75d84 100644 --- a/src/sound.cpp +++ b/src/sound.cpp @@ -229,7 +229,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(); |