diff options
author | Strangerke | 2014-02-10 07:57:57 +0100 |
---|---|---|
committer | Strangerke | 2014-02-10 07:57:57 +0100 |
commit | 72d21312639921691336640614f93bb7d3ba1b27 (patch) | |
tree | 886ccba1be938c2bf3ea8505595fc1895155db62 | |
parent | 9608a521625122e1499d5fae60d3c7ecd0456f90 (diff) | |
download | scummvm-rg350-72d21312639921691336640614f93bb7d3ba1b27.tar.gz scummvm-rg350-72d21312639921691336640614f93bb7d3ba1b27.tar.bz2 scummvm-rg350-72d21312639921691336640614f93bb7d3ba1b27.zip |
VOYEUR: Remove a useless variable
-rw-r--r-- | engines/voyeur/files_threads.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp index ab639021a4..a5e27eb32d 100644 --- a/engines/voyeur/files_threads.cpp +++ b/engines/voyeur/files_threads.cpp @@ -1371,16 +1371,13 @@ int ThreadResource::doInterface() { Common::Rect mansionViewBounds(MANSION_VIEW_X, MANSION_VIEW_Y, MANSION_VIEW_X + MANSION_VIEW_WIDTH, MANSION_VIEW_Y + MANSION_VIEW_HEIGHT); - int priorRegionIndex = -1; do { _vm->_voyeurArea = AREA_INTERFACE; _vm->doTimeBar(true); _vm->_eventsManager.getMouseInfo(); - if (checkMansionScroll()) { - priorRegionIndex = regionIndex; + if (checkMansionScroll()) _vm->doScroll(_vm->_mansionViewPos); - } _vm->checkPhoneCall(); if (!_vm->_soundManager.getVOCStatus()) { |