aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur
diff options
context:
space:
mode:
authorStrangerke2014-02-26 07:43:11 +0100
committerStrangerke2014-02-26 07:43:11 +0100
commit62d846d7172d27c5f9e784f507cd546915f6d652 (patch)
treea36a2d766258ef9fcd53448cd165f58458d1681e /engines/voyeur
parentbcca831c6813aa1a52b478c6b2f40ac2ee108ed5 (diff)
downloadscummvm-rg350-62d846d7172d27c5f9e784f507cd546915f6d652.tar.gz
scummvm-rg350-62d846d7172d27c5f9e784f507cd546915f6d652.tar.bz2
scummvm-rg350-62d846d7172d27c5f9e784f507cd546915f6d652.zip
VOYEUR: Remove a useless function
Diffstat (limited to 'engines/voyeur')
-rw-r--r--engines/voyeur/events.cpp4
-rw-r--r--engines/voyeur/events.h1
-rw-r--r--engines/voyeur/voyeur.cpp3
3 files changed, 0 insertions, 8 deletions
diff --git a/engines/voyeur/events.cpp b/engines/voyeur/events.cpp
index 686994722e..a141883090 100644
--- a/engines/voyeur/events.cpp
+++ b/engines/voyeur/events.cpp
@@ -85,10 +85,6 @@ EventsManager::EventsManager(): _intPtr(_gameData),
_fadeCount = 1;
}
-void EventsManager::resetMouse() {
- // No implementation
-}
-
void EventsManager::startMainClockInt() {
_mainIntNode._intFunc = &EventsManager::mainVoyeurIntFunc;
_mainIntNode._flags = 0;
diff --git a/engines/voyeur/events.h b/engines/voyeur/events.h
index 03c26690c5..c032d35224 100644
--- a/engines/voyeur/events.h
+++ b/engines/voyeur/events.h
@@ -115,7 +115,6 @@ public:
EventsManager();
void setVm(VoyeurEngine *vm) { _vm = vm; }
- void resetMouse();
void setMousePos(const Common::Point &p) { _mousePos = p; }
void startMainClockInt();
void sWaitFlip();
diff --git a/engines/voyeur/voyeur.cpp b/engines/voyeur/voyeur.cpp
index 7bfb4a74c4..6a9244b9f5 100644
--- a/engines/voyeur/voyeur.cpp
+++ b/engines/voyeur/voyeur.cpp
@@ -77,15 +77,12 @@ Common::Error VoyeurEngine::run() {
if (_iForceDeath >= 1 && _iForceDeath <= 4)
_voy._eventFlags |= EVTFLAG_VICTIM_PRESET;
- _eventsManager.resetMouse();
if (doHeadTitle()) {
playStamp();
if (!shouldQuit())
doTailTitle();
}
- //doHeadTitle();
-
return Common::kNoError;
}