CGE2: Make impossible to dereference nullptr in sndDigiStart().

This commit is contained in:
uruk 2014-08-13 17:30:40 +02:00
parent f35889713c
commit 528ed79575

View File

@ -99,7 +99,7 @@ void Sound::sndDigiStart(SmpInfo *PSmpInfo, Audio::Mixer::SoundType soundType) {
handle = &_speechHandle;
break;
default:
break;
error("Wrong sound type passed to sndDigiStart()");
}
// Start the new sound