1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-04 02:41:19 +00:00

Removed a couple of warnings with nosound

This commit is contained in:
Michael Papageorgiou 2012-03-18 22:50:52 +02:00
parent f567950e25
commit d10b18b0f3

View File

@ -358,6 +358,9 @@ namespace MWSound
void SoundManager::playPlaylist(std::string playlist)
{
if (!mUsingSound)
return;
if (playlist == "")
{
if(!isMusicPlaying())
@ -379,6 +382,9 @@ namespace MWSound
void SoundManager::say (MWWorld::Ptr ptr, const std::string& filename)
{
if (!mUsingSound)
return;
// The range values are not tested
std::string filePath = Files::FileListLocator(mSoundFiles, filename, mFSStrict, true);
if(!filePath.empty())