aboutsummaryrefslogtreecommitdiff
path: root/engines/gnap/scenes
diff options
context:
space:
mode:
authorStrangerke2016-04-19 22:15:59 +0200
committerEugene Sandulenko2016-05-10 09:54:21 +0200
commit729b82a428adf062894b67263485abe11507c416 (patch)
treea4dc813cb26f9e61894a45cd5e23437f2e5c016e /engines/gnap/scenes
parent7a6c02ca0470023ae57a1775dbc347ff5f62be1b (diff)
downloadscummvm-rg350-729b82a428adf062894b67263485abe11507c416.tar.gz
scummvm-rg350-729b82a428adf062894b67263485abe11507c416.tar.bz2
scummvm-rg350-729b82a428adf062894b67263485abe11507c416.zip
GNAP: Use enum value for a flag instead of number
Diffstat (limited to 'engines/gnap/scenes')
-rw-r--r--engines/gnap/scenes/scene07.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gnap/scenes/scene07.cpp b/engines/gnap/scenes/scene07.cpp
index 953dbeb1e0..dab9051114 100644
--- a/engines/gnap/scenes/scene07.cpp
+++ b/engines/gnap/scenes/scene07.cpp
@@ -50,7 +50,7 @@ void GnapEngine::scene07_updateHotspots() {
setHotspot(kHSExitHouse, 700, 125, 799, 290, SF_EXIT_NE_CURSOR);
setHotspot(kHSDice, 200, 290, 270, 360, SF_PLAT_CURSOR | SF_TALK_CURSOR | SF_GRAB_CURSOR | SF_LOOK_CURSOR);
setHotspot(kHSWalkArea1, 0, 0, 325, 445);
- setHotspot(kHSWalkArea2, 325, 0, 799, 445, _isLeavingScene ? SF_WALKABLE : 0);
+ setHotspot(kHSWalkArea2, 325, 0, 799, 445, _isLeavingScene ? SF_WALKABLE : SF_NONE);
setHotspot(kHSWalkArea3, 160, 0, 325, 495);
setDeviceHotspot(kHSDevice, -1, -1, -1, -1);
if (isFlag(kGFPlatypus))