mirror of
https://github.com/scummvm/scummvm.git
synced 2026-11-18 21:34:48 +00:00
Error out if unsupport language option is used
svn-id: r7992
This commit is contained in:
1 parent
645aa837e7
commit
689ca53c8c
1 file changed
+4
@@ -4420,6 +4420,10 @@ void SimonState::go() {
|
||||
} else {
|
||||
_subtitles = true;
|
||||
}
|
||||
|
||||
if (_language == 4 || (_language > 5 && _language < 20))
|
||||
error("Only English, French, German, Hebrew, Italian and Spanish are supported");
|
||||
|
||||
//Only English and German voice files were produced
|
||||
if (_language >= 2)
|
||||
_subtitles = true;
|
||||
|
||||
Reference in new issue
Block a user