aboutsummaryrefslogtreecommitdiff
path: root/engines/director
diff options
context:
space:
mode:
authorEugene Sandulenko2017-02-18 20:02:39 +0100
committerEugene Sandulenko2017-02-18 21:10:22 +0100
commit6e6f1b1d04d371958ac8122064a7162b2a921bc9 (patch)
tree7afe10978dfb862b150e93da878e809b327166f7 /engines/director
parentef07ed077469ed6f405b4746a728a2cfc8147a2f (diff)
downloadscummvm-rg350-6e6f1b1d04d371958ac8122064a7162b2a921bc9.tar.gz
scummvm-rg350-6e6f1b1d04d371958ac8122064a7162b2a921bc9.tar.bz2
scummvm-rg350-6e6f1b1d04d371958ac8122064a7162b2a921bc9.zip
DIRECTOR: Fixed Shared cast filename setting
Diffstat (limited to 'engines/director')
-rw-r--r--engines/director/director.cpp13
1 files changed, 7 insertions, 6 deletions
diff --git a/engines/director/director.cpp b/engines/director/director.cpp
index 89c8aefa44..a389c8e925 100644
--- a/engines/director/director.cpp
+++ b/engines/director/director.cpp
@@ -138,13 +138,14 @@ Common::Error DirectorEngine::run() {
//_mainArchive = new RIFFArchive();
//_mainArchive->openFile("bookshelf_example.mmm");
- if (getPlatform() == Common::kPlatformWindows) {
- _sharedCastFile = "SHARDCST.MMM";
- } else {
- if (getVersion() < 4)
+ if (getVersion() < 4) {
+ if (getPlatform() == Common::kPlatformWindows) {
+ _sharedCastFile = "SHARDCST.MMM";
+ } else {
_sharedCastFile = "Shared Cast";
- else
- _sharedCastFile = "Shared.dir";
+ }
+ } else {
+ _sharedCastFile = "Shared.dir";
}
loadSharedCastsFrom(_sharedCastFile);