diff options
author | Nicola Mettifogo | 2007-03-17 20:19:16 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-03-17 20:19:16 +0000 |
commit | 54201ddaa9bf1ec8bda447f9a76382a238a72617 (patch) | |
tree | 483d21189ee746fa3ed266c56d813108f4f38623 /engines/parallaction/walk.cpp | |
parent | d7f31cf55d54b7f74fb5e8ed9ccdb3d8ddbacd6d (diff) | |
download | scummvm-rg350-54201ddaa9bf1ec8bda447f9a76382a238a72617.tar.gz scummvm-rg350-54201ddaa9bf1ec8bda447f9a76382a238a72617.tar.bz2 scummvm-rg350-54201ddaa9bf1ec8bda447f9a76382a238a72617.zip |
split Zone::_oldPosition in two members
svn-id: r26182
Diffstat (limited to 'engines/parallaction/walk.cpp')
-rw-r--r-- | engines/parallaction/walk.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/parallaction/walk.cpp b/engines/parallaction/walk.cpp index 4418372f68..9e48dcb628 100644 --- a/engines/parallaction/walk.cpp +++ b/engines/parallaction/walk.cpp @@ -321,8 +321,8 @@ void jobWalk(void *parm, Job *j) { // debugC(1, kDebugWalk, "jobWalk to (%i, %i)", node->_x + _vm->_char._ani._cnv._width / 2, node->_y + _vm->_char._ani._cnv._height); - _vm->_char._ani._zone._oldposition._x = _si; - _vm->_char._ani._zone._oldposition._y = _di; + _vm->_char._ani._zone._oldLeft = _si; + _vm->_char._ani._zone._oldTop = _di; if ((node->_x == _si) && (node->_y == _di)) { if (node->_next == NULL) { @@ -415,7 +415,7 @@ void jobWalk(void *parm, Job *j) { _vm->_char._ani._zone._left = _si; _vm->_char._ani._zone._top = _di; - if ((_si == _vm->_char._ani._zone._oldposition._x) && (_di == _vm->_char._ani._zone._oldposition._y)) { + if ((_si == _vm->_char._ani._zone._oldLeft) && (_di == _vm->_char._ani._zone._oldTop)) { j->_finished = 1; checkDoor(); |