diff options
-rw-r--r-- | engines/director/resource.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/director/resource.cpp b/engines/director/resource.cpp index a704918860..61e46e9a8d 100644 --- a/engines/director/resource.cpp +++ b/engines/director/resource.cpp @@ -197,6 +197,8 @@ void DirectorEngine::loadSharedCastsFrom(Common::String filename) { if (!shardcst->openFile(filename)) { warning("No shared cast %s", filename.c_str()); + _sharedCasts = new Common::HashMap<int, Cast *>; + return; } |