diff options
Diffstat (limited to 'engines/parallaction/parallaction.cpp')
-rw-r--r-- | engines/parallaction/parallaction.cpp | 31 |
1 files changed, 1 insertions, 30 deletions
diff --git a/engines/parallaction/parallaction.cpp b/engines/parallaction/parallaction.cpp index 58ee2dcd78..490ca38e31 100644 --- a/engines/parallaction/parallaction.cpp +++ b/engines/parallaction/parallaction.cpp @@ -198,7 +198,7 @@ int Parallaction::init() { initInventory(); - addNode(&_animations, &_vm->_char._ani); + _animations.push_front(&_vm->_char._ani); _gfx = new Gfx(this); int midiDriver = MidiDriver::detectMusicDriver(MDT_MIDI | MDT_ADLIB | MDT_PREFER_MIDI); @@ -805,35 +805,6 @@ void Parallaction::changeCharacter(const char *name) { return; } -// TODO (LIST): this routine will be removed -void addNode(Node *list, Node *n) { - - Node *v4 = list->_next; - - if (v4 != NULL) { - v4->_prev = n; - } - - n->_next = v4; - list->_next = n; - n->_prev = list; - - return; -} - -// TODO (LIST): this routine will be removed -void removeNode(Node *n) { - - Node *v4 = n->_next; - if (v4 != NULL) { - v4->_prev = n->_prev; - } - - n->_prev->_next = n->_next; - - return; -} - /* helper function to provide *descending* ordering of the job list (higher priorities values comes first in the list) |