diff options
Diffstat (limited to 'engines/parallaction')
-rw-r--r-- | engines/parallaction/disk_br.cpp | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/engines/parallaction/disk_br.cpp b/engines/parallaction/disk_br.cpp index 63ec2e3667..cb33bdb485 100644 --- a/engines/parallaction/disk_br.cpp +++ b/engines/parallaction/disk_br.cpp @@ -87,14 +87,15 @@ Cnv* DosDisk_br::loadTalk(const char *name) { Script* DosDisk_br::loadLocation(const char *name) { debugC(5, kDebugDisk, "DosDisk_br::loadLocation"); - char path[PATH_LEN]; - sprintf(path, "%s/%s/%s.loc", _partPath, _languageDir, name); - - debugC(3, kDebugDisk, "DosDisk_br::loadLocation(%s): trying '%s'", name, path); - Common::File stream; - if (!stream.open(path)) - errorFileNotFound(path); + + char path[PATH_LEN]; + sprintf(path, "%s/%s/%s.slf", _partPath, _languageDir, name); + if (!stream.open(path)) { + sprintf(path, "%s/%s/%s.loc", _partPath, _languageDir, name); + if (!stream.open(path)) + errorFileNotFound(path); + } return new Script(&stream, false); } |