diff options
author | Nicola Mettifogo | 2007-03-18 19:35:54 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-03-18 19:35:54 +0000 |
commit | f14a5c17f2d153c76995d43de02c2c985186f5c5 (patch) | |
tree | 14afcbc1afdc0dcf58e0ddaed2571245ec590bd2 /engines/parallaction/walk.cpp | |
parent | 2c3152ea62d475007eb50abd07397e6074a197a9 (diff) | |
download | scummvm-rg350-f14a5c17f2d153c76995d43de02c2c985186f5c5.tar.gz scummvm-rg350-f14a5c17f2d153c76995d43de02c2c985186f5c5.tar.bz2 scummvm-rg350-f14a5c17f2d153c76995d43de02c2c985186f5c5.zip |
- Made global Node's (_zones, _animations, _helperNode) and the functions using them members of the engine.
- Added a constructor for Node
svn-id: r26226
Diffstat (limited to 'engines/parallaction/walk.cpp')
-rw-r--r-- | engines/parallaction/walk.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/parallaction/walk.cpp b/engines/parallaction/walk.cpp index 3529b838e7..710040d184 100644 --- a/engines/parallaction/walk.cpp +++ b/engines/parallaction/walk.cpp @@ -414,7 +414,7 @@ uint16 checkDoor() { } _engineFlags &= ~kEngineWalking; - Zone *z = hitZone(kZoneDoor, _vm->_char._ani._zone._left + _vm->_char._ani.width() / 2, _vm->_char._ani._zone._top + _vm->_char._ani.height()); + Zone *z = _vm->hitZone(kZoneDoor, _vm->_char._ani._zone._left + _vm->_char._ani.width() / 2, _vm->_char._ani._zone._top + _vm->_char._ani.height()); if (z != NULL) { @@ -432,7 +432,7 @@ uint16 checkDoor() { } } - z = hitZone(kZoneTrap, _vm->_char._ani._zone._left + _vm->_char._ani.width() / 2, _vm->_char._ani._zone._top + _vm->_char._ani.height()); + z = _vm->hitZone(kZoneTrap, _vm->_char._ani._zone._left + _vm->_char._ani.width() / 2, _vm->_char._ani._zone._top + _vm->_char._ani.height()); if (z != NULL) { _localFlags[_vm->_currentLocationIndex] |= kFlagsEnter; |