From 62d846d7172d27c5f9e784f507cd546915f6d652 Mon Sep 17 00:00:00 2001 From: Strangerke Date: Wed, 26 Feb 2014 07:43:11 +0100 Subject: VOYEUR: Remove a useless function --- engines/voyeur/events.cpp | 4 ---- engines/voyeur/events.h | 1 - engines/voyeur/voyeur.cpp | 3 --- 3 files changed, 8 deletions(-) (limited to 'engines/voyeur') 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; } -- cgit v1.2.3