Fix backwards "sound enabled" logic (#261).

This commit is contained in:
Aloshi 2014-11-11 19:13:57 -06:00
parent c532c68dde
commit f899b8aaaf

View file

@ -111,7 +111,7 @@ void Sound::play()
if(mSampleData == NULL)
return;
if(Settings::getInstance()->getBool("EnableSounds"))
if(!Settings::getInstance()->getBool("EnableSounds"))
return;
SDL_LockAudio();