aboutsummaryrefslogtreecommitdiff
path: root/engines/voyeur
diff options
context:
space:
mode:
authorPaul Gilbert2013-12-14 20:42:16 -0500
committerPaul Gilbert2013-12-14 20:42:16 -0500
commitfc757c3169c2ec9df8064ae9e901fae79105be3a (patch)
treec70b9f6ce4787911c6b277b21a193e12a5a45336 /engines/voyeur
parent95316a59569b08eb0fb1df7548da500da7948bca (diff)
downloadscummvm-rg350-fc757c3169c2ec9df8064ae9e901fae79105be3a.tar.gz
scummvm-rg350-fc757c3169c2ec9df8064ae9e901fae79105be3a.tar.bz2
scummvm-rg350-fc757c3169c2ec9df8064ae9e901fae79105be3a.zip
VOYEUR: Fix shadowed variable in doInterface
Diffstat (limited to 'engines/voyeur')
-rw-r--r--engines/voyeur/files_threads.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/voyeur/files_threads.cpp b/engines/voyeur/files_threads.cpp
index 532e7f981c..12314df731 100644
--- a/engines/voyeur/files_threads.cpp
+++ b/engines/voyeur/files_threads.cpp
@@ -1134,7 +1134,7 @@ int ThreadResource::doInterface() {
_vm->_soundManager.startVOCPlay(_vm->_soundManager.getVOCFileName(_vm->_playStamp2));
}
- Common::Point pt = _vm->_eventsManager.getMousePos() + Common::Point(120, 75);
+ pt = _vm->_eventsManager.getMousePos() + Common::Point(120, 75);
for (int idx = 0; idx < READ_LE_UINT16(dataP); ++idx) {
if (READ_LE_UINT16(dataP + (idx * 8 + 2)) <= pt.x &&