Browse Source

simplyfied

Laserlicht 1 year ago
parent
commit
8870547d02
1 changed files with 1 additions and 2 deletions
  1. 1 2
      client/CMusicHandler.cpp

+ 1 - 2
client/CMusicHandler.cpp

@@ -205,8 +205,7 @@ double CSoundHandler::getSoundDuration(const AudioPath & sound) {
 			sampleLen = sampleCount;
 		}
 		seconds = (double)sampleLen / (double)spec.freq;
-	} else
-		return 0.0;
+	}
 
 	return seconds;
 }