diff options
author | Paul Gilbert | 2015-02-07 21:17:31 -0500 |
---|---|---|
committer | Paul Gilbert | 2015-02-07 21:17:31 -0500 |
commit | d6e760552e785e466b5d2088570baa182d42ccd0 (patch) | |
tree | b4abd925ab7bee2a1989da75a9d5c8fe32c02342 /engines/xeen/map.cpp | |
parent | 65ecc9b72138f2dcef0ccf3765363559649b77a2 (diff) | |
download | scummvm-rg350-d6e760552e785e466b5d2088570baa182d42ccd0.tar.gz scummvm-rg350-d6e760552e785e466b5d2088570baa182d42ccd0.tar.bz2 scummvm-rg350-d6e760552e785e466b5d2088570baa182d42ccd0.zip |
XEEN: Implemented resting
Diffstat (limited to 'engines/xeen/map.cpp')
-rw-r--r-- | engines/xeen/map.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/xeen/map.cpp b/engines/xeen/map.cpp index 51e87ef97e..dc58c2db6d 100644 --- a/engines/xeen/map.cpp +++ b/engines/xeen/map.cpp @@ -1369,7 +1369,7 @@ void Map::cellFlagLookup(const Common::Point &pt) { // Get the cell flags const MazeCell &cell = _mazeData[_mazeDataIndex]._cells[pos.y][pos.x]; _currentIsGrate = cell._flags & OUTFLAG_GRATE; - _currentCantRest = cell._flags & FLAG_WATER; + _currentCantRest = cell._flags & RESTRICTION_REST; _currentIsDrain = cell._flags & OUTFLAG_DRAIN; _currentIsEvent = cell._flags & FLAG_AUTOEXECUTE_EVENT; _currentSky = (cell._flags & OUTFLAG_OBJECT_EXISTS) ? 1 : 0; |