aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur/voyeur.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/voyeur/voyeur.cpp')
-rw-r--r--engines/voyeur/voyeur.cpp9
1 files changed, 8 insertions, 1 deletions
diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp
index 43e7f51540..580bacbd6f 100644
--- a/engines/voyeur/voyeur.cpp
+++ b/engines/voyeur/voyeur.cpp
@@ -71,7 +71,7 @@ Common::Error VoyeurEngine::saveGameState(int slot, const Common::String &desc)
}
Common::Error VoyeurEngine::run() {
-
+ ESP_Init();
return Common::kNoError;
}
@@ -80,4 +80,11 @@ int VoyeurEngine::getRandomNumber(int maxNumber) {
return _randomSource.getRandomNumber(maxNumber);
}
+void VoyeurEngine::ESP_Init() {
+ _eventManager.setVm(this);
+
+ _eventManager.resetMouse();
+
+}
+
} // End of namespace Voyeur