diff options
author | Strangerke | 2014-02-26 22:54:13 +0100 |
---|---|---|
committer | Strangerke | 2014-02-26 22:54:13 +0100 |
commit | 8215f598612a61e472ec56db0f93fb43908a1348 (patch) | |
tree | cf3d2f4db24e612f54bcd820f7d7ab3d5920014d /engines/voyeur/events.cpp | |
parent | ccde2d5b7604756f5333ea16807c82ef1b387c10 (diff) | |
download | scummvm-rg350-8215f598612a61e472ec56db0f93fb43908a1348.tar.gz scummvm-rg350-8215f598612a61e472ec56db0f93fb43908a1348.tar.bz2 scummvm-rg350-8215f598612a61e472ec56db0f93fb43908a1348.zip |
VOYEUR: Remove setVm from Debugger
Diffstat (limited to 'engines/voyeur/events.cpp')
-rw-r--r-- | engines/voyeur/events.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/voyeur/events.cpp b/engines/voyeur/events.cpp index c438883509..ea726ac0ff 100644 --- a/engines/voyeur/events.cpp +++ b/engines/voyeur/events.cpp @@ -96,7 +96,7 @@ void EventsManager::mainVoyeurIntFunc() { if (!(_vm->_voy->_eventFlags & EVTFLAG_TIME_DISABLED)) { ++_vm->_voy->_switchBGNum; - if (_vm->_debugger._isTimeActive) { + if (_vm->_debugger->_isTimeActive) { // Increase camera discharge ++_vm->_voy->_RTVNum; @@ -149,10 +149,10 @@ void EventsManager::checkForNextFrameCounter() { mainVoyeurIntFunc(); // Give time to the debugger - _vm->_debugger.onFrame(); + _vm->_debugger->onFrame(); // If mouse position display is on, display the position - if (_vm->_debugger._showMousePosition) + if (_vm->_debugger->_showMousePosition) showMousePosition(); // Display the frame @@ -161,7 +161,7 @@ void EventsManager::checkForNextFrameCounter() { g_system->updateScreen(); // Signal the ScummVM debugger - _vm->_debugger.onFrame(); + _vm->_debugger->onFrame(); } } @@ -263,8 +263,8 @@ void EventsManager::pollEvents() { // Check for debugger if (event.kbd.keycode == Common::KEYCODE_d && (event.kbd.flags & Common::KBD_CTRL)) { // Attach to the debugger - _vm->_debugger.attach(); - _vm->_debugger.onFrame(); + _vm->_debugger->attach(); + _vm->_debugger->onFrame(); } return; case Common::EVENT_LBUTTONDOWN: |