aboutsummaryrefslogtreecommitdiff
path: root/engines/hugo/mouse.cpp
diff options
context:
space:
mode:
authorStrangerke2012-06-13 21:18:37 +0200
committerStrangerke2012-06-13 21:18:37 +0200
commit179427c78f2a634beb4485661bf2b1fc78ef559f (patch)
treeb18cf25a985bd6eb4a032cda89f058e8dfdb6fef /engines/hugo/mouse.cpp
parent999ae29de43444118b5990a272a98031c4707ee0 (diff)
downloadscummvm-rg350-179427c78f2a634beb4485661bf2b1fc78ef559f.tar.gz
scummvm-rg350-179427c78f2a634beb4485661bf2b1fc78ef559f.tar.bz2
scummvm-rg350-179427c78f2a634beb4485661bf2b1fc78ef559f.zip
HUGO: Rename pointers
Diffstat (limited to 'engines/hugo/mouse.cpp')
-rw-r--r--engines/hugo/mouse.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/hugo/mouse.cpp b/engines/hugo/mouse.cpp
index fef3cca608..a95170696c 100644
--- a/engines/hugo/mouse.cpp
+++ b/engines/hugo/mouse.cpp
@@ -223,7 +223,7 @@ void MouseHandler::processLeftClick(const int16 objId, const int16 cx, const int
_vm->_screen->displayList(kDisplayAdd, 0, kDibOffY, kXPix, kInvDy);
break;
case kExitHotspot: // Walk to exit hotspot
- i = findExit(cx, cy, *_vm->_screen_p);
+ i = findExit(cx, cy, *_vm->_screenPtr);
x = _hotspots[i]._viewx;
y = _hotspots[i]._viewy;
if (x >= 0) { // Hotspot refers to an exit
@@ -327,7 +327,7 @@ void MouseHandler::mouseHandler() {
// Process cursor over an exit hotspot
if (objId == -1) {
- int i = findExit(cx, cy, *_vm->_screen_p);
+ int i = findExit(cx, cy, *_vm->_screenPtr);
if (i != -1 && _hotspots[i]._viewx >= 0) {
objId = kExitHotspot;
cursorText(_vm->_text->getTextMouse(kMsExit), cx, cy, U_FONT8, _TBRIGHTWHITE);