aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap/scenes/scene04.cpp
diff options
context:
space:
mode:
authorStrangerke2016-03-14 07:40:03 +0100
committerEugene Sandulenko2016-05-10 09:54:21 +0200
commit83bc85713bacd3a50daaace0411a3382c855797a (patch)
treeb825953bb68b22f6fef096da65c2165dc6d3fb69 /engines/gnap/scenes/scene04.cpp
parentda2cb981d2d5a71fc9db04404569bfcc92fbfcf3 (diff)
downloadscummvm-rg350-83bc85713bacd3a50daaace0411a3382c855797a.tar.gz
scummvm-rg350-83bc85713bacd3a50daaace0411a3382c855797a.tar.bz2
scummvm-rg350-83bc85713bacd3a50daaace0411a3382c855797a.zip
GNAP: More renaming. Remove unused variable in MouseButtonState and Hotspot
Diffstat (limited to 'engines/gnap/scenes/scene04.cpp')
-rw-r--r--engines/gnap/scenes/scene04.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/engines/gnap/scenes/scene04.cpp b/engines/gnap/scenes/scene04.cpp
index 37ebe34839..52fdb39d83 100644
--- a/engines/gnap/scenes/scene04.cpp
+++ b/engines/gnap/scenes/scene04.cpp
@@ -74,11 +74,11 @@ void GnapEngine::scene04_updateHotspots() {
setHotspot(kHSWalkArea2, 562, 0, 800, 500);
setDeviceHotspot(kHSDevice, -1, -1, -1, -1);
if (isFlag(0))
- _hotspots[kHSPlatypus].flags = SF_WALKABLE | SF_TALK_CURSOR | SF_GRAB_CURSOR | SF_LOOK_CURSOR;
+ _hotspots[kHSPlatypus]._flags = SF_WALKABLE | SF_TALK_CURSOR | SF_GRAB_CURSOR | SF_LOOK_CURSOR;
if (isFlag(3))
- _hotspots[kHSTwig].flags = SF_WALKABLE | SF_DISABLED;
+ _hotspots[kHSTwig]._flags = SF_WALKABLE | SF_DISABLED;
if (isFlag(26) || _cursorValue == 1)
- _hotspots[kHSAxe].flags = SF_DISABLED;
+ _hotspots[kHSAxe]._flags = SF_DISABLED;
_hotspotsCount = 11;
}
@@ -385,9 +385,9 @@ void GnapEngine::scene04_run() {
break;
default:
- if (_mouseClickState.left && _gnapActionStatus < 0) {
+ if (_mouseClickState._left && _gnapActionStatus < 0) {
gnapWalkTo(-1, -1, -1, -1, 1);
- _mouseClickState.left = false;
+ _mouseClickState._left = false;
}
break;