aboutsummaryrefslogtreecommitdiff
path: root/engines/director/score.cpp
diff options
context:
space:
mode:
authorEugene Sandulenko2020-01-02 16:43:39 +0100
committerEugene Sandulenko2020-01-02 16:43:39 +0100
commitc554e160c4bd1a20aae4b5175542b15b4a09d8b6 (patch)
tree5a23eee13d66860105b6e9f94ac86e1ba2f8e905 /engines/director/score.cpp
parent39728ee0294c2d70b269e1a0f8c85f62805e09e8 (diff)
downloadscummvm-rg350-c554e160c4bd1a20aae4b5175542b15b4a09d8b6.tar.gz
scummvm-rg350-c554e160c4bd1a20aae4b5175542b15b4a09d8b6.tar.bz2
scummvm-rg350-c554e160c4bd1a20aae4b5175542b15b4a09d8b6.zip
DIRECTOR: Fix crash on exit
Diffstat (limited to 'engines/director/score.cpp')
-rw-r--r--engines/director/score.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/director/score.cpp b/engines/director/score.cpp
index b078382513..1eb1dcebe6 100644
--- a/engines/director/score.cpp
+++ b/engines/director/score.cpp
@@ -95,6 +95,8 @@ Score::Score(DirectorEngine *vm) {
_castIDoffset = 0;
+ _movieArchive = nullptr;
+
_loadedStxts = new Common::HashMap<int, const Stxt *>();
_loadedCast = new Common::HashMap<int, Cast *>();
}