aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorPaul Gilbert2014-01-03 09:28:40 -1000
committerPaul Gilbert2014-01-03 09:28:40 -1000
commit5b2ad8515e45642bc2829d4f62aaa571b73b1bf1 (patch)
treec966af02e73708a729e98ea523ae6409fa77728c /engines
parent1c3708630bd4e2698704883e1b1aeea94ef8379b (diff)
downloadscummvm-rg350-5b2ad8515e45642bc2829d4f62aaa571b73b1bf1.tar.gz
scummvm-rg350-5b2ad8515e45642bc2829d4f62aaa571b73b1bf1.tar.bz2
scummvm-rg350-5b2ad8515e45642bc2829d4f62aaa571b73b1bf1.zip
VOYEUR: Fix names of cursor variables in doInterface
Diffstat (limited to 'engines')
-rw-r--r--engines/voyeur/files_threads.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp
index 2d9ae816eb..87a8249b53 100644
--- a/engines/voyeur/files_threads.cpp
+++ b/engines/voyeur/files_threads.cpp
@@ -1391,9 +1391,9 @@ int ThreadResource::doInterface() {
// Set the cusor
PictureResource *crosshairsCursor = _vm->_bVoy->boltEntry(0x112)._picResource;
- PictureResource *mangifyCursor = _vm->_bVoy->boltEntry(0x114)._picResource;
- PictureResource *unk1Cursor = _vm->_bVoy->boltEntry(0x115)._picResource;
- PictureResource *unk2Cursor = _vm->_bVoy->boltEntry(0x113)._picResource;
+ PictureResource *eyeCursor = _vm->_bVoy->boltEntry(0x113)._picResource;
+ PictureResource *listenCursor = _vm->_bVoy->boltEntry(0x114)._picResource;
+ PictureResource *mangifyCursor = _vm->_bVoy->boltEntry(0x115)._picResource;
_vm->_eventsManager.setCursor(crosshairsCursor);
_vm->_eventsManager.showCursor();
@@ -1435,14 +1435,14 @@ int ThreadResource::doInterface() {
if (_vm->_voy._arr3[arrIndex][idx] <= _vm->_voy._RTVNum &&
_vm->_voy._arr4[arrIndex][idx] > _vm->_voy._RTVNum) {
// Found a hotspot - switch to the magnifying glass cursor
- _vm->_eventsManager.setCursor(mangifyCursor);
+ _vm->_eventsManager.setCursor(listenCursor);
regionIndex = idx;
}
if (_vm->_voy._arr5[arrIndex][idx] <= _vm->_voy._RTVNum &&
_vm->_voy._arr6[idx][idx] > _vm->_voy._RTVNum) {
// Set unk? cursor
- _vm->_eventsManager.setCursor(unk1Cursor);
+ _vm->_eventsManager.setCursor(mangifyCursor);
regionIndex = idx;
}
}
@@ -1451,7 +1451,7 @@ int ThreadResource::doInterface() {
if (_vm->_voy._arr1[arrIndex][idx] <= _vm->_voy._RTVNum &&
_vm->_voy._arr2[arrIndex][idx] > _vm->_voy._RTVNum) {
// Draw the picture
- _vm->_eventsManager.setCursor(unk2Cursor);
+ _vm->_eventsManager.setCursor(eyeCursor);
regionIndex = idx;
}
}