diff options
author | Strangerke | 2014-02-21 08:17:56 +0100 |
---|---|---|
committer | Strangerke | 2014-02-21 08:17:56 +0100 |
commit | 1aa9749beb8abdb972c214dabd1dcefaca236ef3 (patch) | |
tree | 53aa2bf618f6cdd6542353b17a1ffac92771112c /engines/voyeur | |
parent | eee040cd294b0be71b1f6688440c8f1e15a3a694 (diff) | |
download | scummvm-rg350-1aa9749beb8abdb972c214dabd1dcefaca236ef3.tar.gz scummvm-rg350-1aa9749beb8abdb972c214dabd1dcefaca236ef3.tar.bz2 scummvm-rg350-1aa9749beb8abdb972c214dabd1dcefaca236ef3.zip |
VOYEUR: Fix some shadowed variables in VoyeurEngine
Diffstat (limited to 'engines/voyeur')
-rw-r--r-- | engines/voyeur/voyeur_game.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/engines/voyeur/voyeur_game.cpp b/engines/voyeur/voyeur_game.cpp index 123f0f629b..037ef68d94 100644 --- a/engines/voyeur/voyeur_game.cpp +++ b/engines/voyeur/voyeur_game.cpp @@ -425,7 +425,6 @@ void VoyeurEngine::reviewTape() { Common::Rect tempRect(58, 30, 58 + 223, 30 + 124); Common::Point pt; int foundIndex; - int eventNum; _bVoy->getBoltGroup(0x900); PictureResource *cursor = _bVoy->boltEntry(0x903)._picResource; @@ -550,7 +549,7 @@ void VoyeurEngine::reviewTape() { _graphicsManager._backgroundPage->sFillBox(tempRect.width(), tempRect.height()); int yp = 45; - eventNum = eventStart; + int eventNum = eventStart; for (int idx = 0; idx < 8 && eventNum < _voy._eventCount; ++idx, ++eventNum) { _graphicsManager._fontPtr->_picFlags = 0; _graphicsManager._fontPtr->_picSelect = 0xff; @@ -1395,7 +1394,7 @@ void VoyeurEngine::doEvidDisplay(int evidId, int eventId) { if (count == 0 || evidIdx >= eventId) continue; - PictureResource *pic = _voy._evPicPtrs[arrIndex]; + pic = _voy._evPicPtrs[arrIndex]; _graphicsManager.sDrawPic(pic, *_graphicsManager._vPort, Common::Point((384 - pic->_bounds.width()) / 2, (240 - pic->_bounds.height()) / 2)); |