diff options
author | Nicola Mettifogo | 2007-04-11 20:01:06 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-04-11 20:01:06 +0000 |
commit | ab85ecdcb78fba1de64533c0ac3426c3ed0278ff (patch) | |
tree | 6cdfe528e3784fa199562a323a1cc4ec22d0840e /engines/parallaction/walk.cpp | |
parent | 6f8e77eb76c4311d69ac99ba3bcc704a216896c6 (diff) | |
download | scummvm-rg350-ab85ecdcb78fba1de64533c0ac3426c3ed0278ff.tar.gz scummvm-rg350-ab85ecdcb78fba1de64533c0ac3426c3ed0278ff.tar.bz2 scummvm-rg350-ab85ecdcb78fba1de64533c0ac3426c3ed0278ff.zip |
- Moved Zone and Animation to List<>.
- Removed any reference to Node from codebase.
svn-id: r26452
Diffstat (limited to 'engines/parallaction/walk.cpp')
-rw-r--r-- | engines/parallaction/walk.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/engines/parallaction/walk.cpp b/engines/parallaction/walk.cpp index 8ed3d61757..4910bc07ba 100644 --- a/engines/parallaction/walk.cpp +++ b/engines/parallaction/walk.cpp @@ -181,6 +181,9 @@ WalkNodeList *PathBuilder::buildPath(uint16 x, uint16 y) { buildSubPath(pos, stop); _list->insert(_list->begin(), _subPath.begin(), _subPath.end()); + for (WalkNodeList::iterator it = _list->begin(); it != _list->end(); it++) + printf("node (%i, %i)\n", (*it)->_x, (*it)->_y); + delete v44; return _list; } |