mirror of
https://github.com/scummvm/scummvm.git
synced 2026-06-20 05:45:29 +00:00
Error out if unsupport language option is used
svn-id: r7992
This commit is contained in:
@@ -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