From fc757c3169c2ec9df8064ae9e901fae79105be3a Mon Sep 17 00:00:00 2001 From: Paul Gilbert Date: Sat, 14 Dec 2013 20:42:16 -0500 Subject: VOYEUR: Fix shadowed variable in doInterface --- engines/voyeur/files_threads.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines/voyeur') 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 && -- cgit v1.2.3