aboutsummaryrefslogtreecommitdiff
path: root/engines/lure/hotspots.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2007-11-17 08:42:23 +0000
committerPaul Gilbert2007-11-17 08:42:23 +0000
commit4987cde3a13cb08c299928dd001a77d6bbef83a8 (patch)
tree308eb102ff9671299b29784a889112c4b2c45195 /engines/lure/hotspots.cpp
parentca10a4db08c3a3344034def39f8599a1ed14db4b (diff)
downloadscummvm-rg350-4987cde3a13cb08c299928dd001a77d6bbef83a8.tar.gz
scummvm-rg350-4987cde3a13cb08c299928dd001a77d6bbef83a8.tar.bz2
scummvm-rg350-4987cde3a13cb08c299928dd001a77d6bbef83a8.zip
Changed default value of _walkFlag in Hotspot constructor
svn-id: r29527
Diffstat (limited to 'engines/lure/hotspots.cpp')
-rw-r--r--engines/lure/hotspots.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/lure/hotspots.cpp b/engines/lure/hotspots.cpp
index 0791e72f92..a885229ef6 100644
--- a/engines/lure/hotspots.cpp
+++ b/engines/lure/hotspots.cpp
@@ -89,7 +89,7 @@ Hotspot::Hotspot(HotspotData *res): _pathFinder(this) {
_voiceCtr = 0;
_blockedOffset = 0;
_exitCtr = 0;
- _walkFlag = true;
+ _walkFlag = false;
_startRoomNumber = 0;
_supportValue = 0;
@@ -4299,7 +4299,7 @@ void PathFinder::initVars() {
_xDestCurrent = xRight;
}
- _yDestCurrent = _destY - 8;
+ _yDestCurrent = _destY - MENUBAR_Y_SIZE;
if (_yDestCurrent < 0)
_yDestCurrent = 0;
if (_yDestCurrent >= (FULL_SCREEN_HEIGHT - MENUBAR_Y_SIZE))