diff options
author | Nicola Mettifogo | 2007-04-07 09:31:24 +0000 |
---|---|---|
committer | Nicola Mettifogo | 2007-04-07 09:31:24 +0000 |
commit | 93673711073bbf6947e83ca3ec9cd262036aa64a (patch) | |
tree | 9a27428dd46207725bee78af40fd1f32f33f3599 /engines/parallaction/walk.cpp | |
parent | 83610641c7f866e218cf562b2abeb94619bc229a (diff) | |
download | scummvm-rg350-93673711073bbf6947e83ca3ec9cd262036aa64a.tar.gz scummvm-rg350-93673711073bbf6947e83ca3ec9cd262036aa64a.tar.bz2 scummvm-rg350-93673711073bbf6947e83ca3ec9cd262036aa64a.zip |
Turned free___() routines into proper destructors for Zone, Animation and Program, and added memo comments for porting the engine to Common::List<>.
svn-id: r26399
Diffstat (limited to 'engines/parallaction/walk.cpp')
-rw-r--r-- | engines/parallaction/walk.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/engines/parallaction/walk.cpp b/engines/parallaction/walk.cpp index 130fa57e78..ce9ec11af2 100644 --- a/engines/parallaction/walk.cpp +++ b/engines/parallaction/walk.cpp @@ -188,6 +188,7 @@ WalkNode *buildWalkPath(uint16 x, uint16 y) { uint32 v34 = buildSubPath(pos, stop, v48); if (v38 != 0 && v34 > v38) { // no alternative path (gap?) + // TODO (LIST): tempPath.clear() freeNodeList(dummy._next); return v44; } @@ -370,6 +371,7 @@ void jobWalk(void *parm, Job *j) { if (pos == _vm->_char._ani._oldPos) { j->_finished = 1; checkDoor(); + //TODO (LIST): this should become path.clear() freeNodeList(node); } else { _vm->_char._ani._frame = v16 + walkData2 + 1; |