From 18cba14c0f80f6ae7db883ce4d6abbf24728f07d Mon Sep 17 00:00:00 2001 From: Bjørn Lindeijer Date: Thu, 16 Apr 2009 22:32:39 +0200 Subject: Some more cleanups Nothing in particular worth mentioning. --- src/sound.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/sound.cpp') 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(); -- cgit v1.2.3-70-g09d2