diff options
author | uruk | 2014-08-13 17:30:40 +0200 |
---|---|---|
committer | uruk | 2014-08-13 17:30:40 +0200 |
commit | 528ed79575d9086bc61f3f9507567f38b1e05c9b (patch) | |
tree | 4deeee108462421ea86542edaea5077aad229288 /engines | |
parent | f35889713cd3db95dd9e8378ceb4f805fa54d13c (diff) | |
download | scummvm-rg350-528ed79575d9086bc61f3f9507567f38b1e05c9b.tar.gz scummvm-rg350-528ed79575d9086bc61f3f9507567f38b1e05c9b.tar.bz2 scummvm-rg350-528ed79575d9086bc61f3f9507567f38b1e05c9b.zip |
CGE2: Make impossible to dereference nullptr in sndDigiStart().
Diffstat (limited to 'engines')
-rw-r--r-- | engines/cge2/sound.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/cge2/sound.cpp b/engines/cge2/sound.cpp index c34eb00c01..a3accdfa92 100644 --- a/engines/cge2/sound.cpp +++ b/engines/cge2/sound.cpp @@ -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 |