diff options
Diffstat (limited to 'engines/prince/prince.cpp')
-rw-r--r-- | engines/prince/prince.cpp | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/engines/prince/prince.cpp b/engines/prince/prince.cpp index f29b8c2bae..a8448a0aed 100644 --- a/engines/prince/prince.cpp +++ b/engines/prince/prince.cpp @@ -208,14 +208,17 @@ void PrinceEngine::init() { debugEngine("Adding all path: %s", gameDataDir.getPath().c_str()); - if (getLanguage() != Common::RU_RUS) { + if (!(getFeatures() & GF_EXTRACTED)) { PtcArchive *all = new PtcArchive(); if (!all->open("all/databank.ptc")) error("Can't open all/databank.ptc"); PtcArchive *voices = new PtcArchive(); - if (!voices->open("voices/databank.ptc")) - error("Can't open voices/databank.ptc"); + + if (!(getFeatures() & GF_NOVOICES)) { + if (!voices->open("voices/databank.ptc")) + error("Can't open voices/databank.ptc"); + } PtcArchive *sound = new PtcArchive(); if (!sound->open("sound/databank.ptc")) |