diff options
author | Paul Gilbert | 2007-11-17 08:42:23 +0000 |
---|---|---|
committer | Paul Gilbert | 2007-11-17 08:42:23 +0000 |
commit | 4987cde3a13cb08c299928dd001a77d6bbef83a8 (patch) | |
tree | 308eb102ff9671299b29784a889112c4b2c45195 /engines | |
parent | ca10a4db08c3a3344034def39f8599a1ed14db4b (diff) | |
download | scummvm-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')
-rw-r--r-- | engines/lure/hotspots.cpp | 4 |
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)) |