aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/sherlock.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-03-17 23:09:04 -0400
committerPaul Gilbert2015-03-17 23:09:04 -0400
commit62f3f5d14e391cdac0bbfe200cdde2e4773afba4 (patch)
treef8edfbab5b33112c8087c20db7f5f7ea588b7895 /engines/sherlock/sherlock.cpp
parentec4319923452bebade836b43a912de06958315a6 (diff)
downloadscummvm-rg350-62f3f5d14e391cdac0bbfe200cdde2e4773afba4.tar.gz
scummvm-rg350-62f3f5d14e391cdac0bbfe200cdde2e4773afba4.tar.bz2
scummvm-rg350-62f3f5d14e391cdac0bbfe200cdde2e4773afba4.zip
SHERLOCK: Remainder of showCityCutscene implemented
Diffstat (limited to 'engines/sherlock/sherlock.cpp')
-rw-r--r--engines/sherlock/sherlock.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/engines/sherlock/sherlock.cpp b/engines/sherlock/sherlock.cpp
index 1fba746f8d..add24cba9f 100644
--- a/engines/sherlock/sherlock.cpp
+++ b/engines/sherlock/sherlock.cpp
@@ -29,7 +29,7 @@
namespace Sherlock {
SherlockEngine::SherlockEngine(OSystem *syst, const SherlockGameDescription *gameDesc) :
- Engine(syst), _gameDescription(gameDesc) {
+ Engine(syst), _gameDescription(gameDesc), _randomSource("Sherlock") {
_animation = nullptr;
_debugger = nullptr;
_events = nullptr;
@@ -82,6 +82,7 @@ void SherlockEngine::initialize() {
_screen = new Screen(this);
_sound = new Sound(this);
_talk = new Talk();
+ Sprite::setVm(this);
}
Common::Error SherlockEngine::run() {