diff options
Diffstat (limited to 'engines/director/director.cpp')
-rw-r--r-- | engines/director/director.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/director/director.cpp b/engines/director/director.cpp index fb93400c52..25a0e3fdf0 100644 --- a/engines/director/director.cpp +++ b/engines/director/director.cpp @@ -87,11 +87,11 @@ Common::Error DirectorEngine::run() { _mainArchive = new RIFFArchive(); _mainArchive->openFile("bookshelf_example.mmm"); - Score score(this); - debug(0, "Score name %s", score.getMacName().c_str()); + _currentScore = new Score(this); + debug(0, "Score name %s", _currentScore->getMacName().c_str()); - score.loadArchive(); - score.startLoop(); + _currentScore->loadArchive(); + _currentScore->startLoop(); if (getPlatform() == Common::kPlatformWindows) loadEXE(); |