aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap/scenes/scene30.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/scene30.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/scene30.cpp')
-rw-r--r--engines/gnap/scenes/scene30.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/gnap/scenes/scene30.cpp b/engines/gnap/scenes/scene30.cpp
index 85e6614f91..48b97bdaae 100644
--- a/engines/gnap/scenes/scene30.cpp
+++ b/engines/gnap/scenes/scene30.cpp
@@ -127,9 +127,9 @@ void GnapEngine::scene30_run() {
case kHSPillMachine:
if (_gnapActionStatus < 0) {
if (_grabCursorSpriteIndex == kItemDiceQuarterHole && !isFlag(23)) {
- _hotspots[kHSWalkArea1].flags |= SF_WALKABLE;
+ _hotspots[kHSWalkArea1]._flags |= SF_WALKABLE;
gnapWalkTo(_hotspotsWalkPos[kHSPillMachine].x, _hotspotsWalkPos[kHSPillMachine].y, 0, 0x107BC, 1);
- _hotspots[kHSWalkArea1].flags &= ~SF_WALKABLE;
+ _hotspots[kHSWalkArea1]._flags &= ~SF_WALKABLE;
_gnapActionStatus = kASUsePillMachine;
hasTakenPill = true;
} else if (_grabCursorSpriteIndex >= 0) {
@@ -171,9 +171,9 @@ void GnapEngine::scene30_run() {
break;
default:
- if (_mouseClickState.left) {
+ if (_mouseClickState._left) {
gnapWalkTo(-1, -1, -1, -1, 1);
- _mouseClickState.left = false;
+ _mouseClickState._left = false;
}
break;